Memory foam mattresses can be denser than other types of mattresses as they do not contain springs that allow extra airflow through the mattress. Therefore, memory foam mattresses may sleep hotter. However, people can choose mattresses that contain cooling technology such as cooling gel, which may prevent overheating.