Why do organisms live in certain places?
Think of that, the temperature dissimilarity in the desert is huge. So in order to survive, the cactus plant decreases heat gain and heat loss as well as water loss. (E.g. narrow pin shaped leaves, long extensive roots)