Styrofoam is a genericized trademarked brand of closed-cell extruded polystyrene foam, manufactured to provide continuous building insulation board used in walls, roofs, and foundations as thermal insulation and as a water barrier.