Memory foam, composed of polyurethane, will become firm, or viscous, in cold conditions, and flexible, or elastic, in hot conditions.
Memory foam is named because it "memorizes" the shape of the person lying on top of it and conforms to the person's body shape and heat. The flexibility of a memory foam mattress allows it to disperse equal support to a person's back, putting no undue pressure on any one area.
Memory foam beds have many advantages beyond creature comfort. They are hypoallergenic and dust resistant, making them good for allergy sufferers. They also allow easier sleep for people with aggravated health conditions, such as those with back pain, arthritis or circulation problems.