Plants that grow in deserts are called Xerophytes.
These plants have a long tap root system. Their roots reach deep inside the soil to absorb water from the lower parts. They have the capacity to store water for long periods of time.
Their stem is green and performs photosynthesis. The leaves are normally turned into thorns for protection of the plant.