Spray foam is the result of a chemical reaction. Two liquids combine to make foam, which then expands within the walls, crawlspaces and crevasses of a home or commercial building. In particular, one chemical is methylene diphenyl diisocyanate (MDI) and the other is a blend of polyols, catalysts, blowing agent, flame retardant and surfactant.