Purpose of underlayment is to provide a smooth, flat surface for the floor covering. It can be made of many different materials, chosen depending on the needs of the floor covering. Plywood, hardboard, and cement board are common choices, but often the underlayment is simply a thin foam padding