Styrofoam is often used as the base for aboveground pools. The foam protects the liner from sharp rocks that may puncture it.