Salt glands allow desert animals to reduce their water loss due to extremely harsh heat conditions in the desert. Instead of secreting water and/or sweat and risk losing the water they have left in their bodies, some desert animals evolved secreting salt instead.