There’s plenty of science behind the advanced cooling technologies used in mattresses, including phase change materials and air channels built into the layers of foam. Since memory foam is well-known for retaining heat, sleep experts found new ways to absorb and dissipate body heat to keep people cool during the night. Although these technologies are effective, they won’t change the temperature in your bedroom.