What are bed or mattress pads used for?

A bed or mattress pad is designed to lie atop an existing mattress. It is made primarily by foam and its function is to provide a layer of comfort and warmth between the user and the mattress.