Insulation properly deployed can be part of a system designed to protect against moisture, which provides the benefit of reducing the chance of harmful mold, mildew and rotting of wood.
In addition to building temperature and moisture control, spray foam insulation is often used to reduce noise. Foam insulation serves as a barrier to airborne sounds, and reduces airborne sound transfer through a building's roof, floor and walls compared an uninsulated structure.
Insulation of all types stops a good deal of energy loss. Some types including spray foams also seal air leaks. Insulation can also save energy in hot climates by reducing air conditioning use.