Dear Student
Photosynthesis in desert plants like the cactus is usually carried out by the stem of the plant. Desert plants like cactus have its leaves modified into spines. The stem of the cactus carries out all the things that the leaves usually do in other plants.
Regards