A memory foam mattress combines a layer of memory foam with springs or support foam. Memory foam uses your body heat to soften and mould to your shape. Once pressure is removed, memory foam will bounce back very slowly and over time will remember your body shape and optimal sleeping position, hence called memory foam.