By putting closed cell foam on interior walls of a basement, you create air barrier and higher r-value. Your house becomes warmer in winter and cooler in summer. It also protects a house against moisture.