Gel mattresses are constructed with a layer of gel, either infused within the foam or as a separate layer, to improve the distribution of weight and reduce pressure points. This gel layer helps in maintaining a consistent body temperature and offers better support compared to traditional mattresses.