Closed-cell foam is far more moisture-resistant, so it's more suitable for moisture-prone areas like attics, crawl spaces, and basements, and for preventing condensation on metal sheds ...
It’s also weather resistant which means it protects your home from moisture and leaks. Finally, while it may seem like an expensive upfront investment the lifespan of the foam is indefinite ...
Moisture is something to be managed. A vapor barrier can cut down on earthy smells, mildew, and general humidity.