Spray foam insulation can be categorized into two different types: open cell and closed cell.
Open cell foam insulation
Open cell is a type of foam where the tiny cells are not completely closed. Open cell is less expensive because it uses fewer chemicals. It is a very good air barrier but does not provide any type of water vapor barrier. It is much more sponge-like in appearance. It is often used for interior walls because it provides sound reduction. It is not recommended for outdoor applications.
Closed cell foam insulation
Closed cell foam insulation is much denser than open cell. It has a smaller, more compact cell structure. It is a very good air barrier as well as a water vapor barrier. It is often used in roofing projects or other outdoor applications, but can be used anywhere in the home