While mattress protectors serve the primary function of protecting your mattress from spills or stains, the primary purpose of mattress pads and mattress toppers is to provide an extra layer of softness or support to your bed.