Invented in the 1960s for NASA, the padding material in a memory foam mattress consists of polyurethane and other chemicals designed to increase viscosity and density. These chemicals can include polyols, diisocyanates, formaldehyde, benzene, and napthalene, among others. A memory foam mattress is usually denser than other foam mattresses, making it both more supportive and heavier.