In desert plants the stomata open at night.
They take in carbon dioxide at night, and is stored in the form of an intermediate which is used during day for photosynthesis (When the stomata are closed).
Also, chlorophyll of the plant are located in the stem as levesare reduced to spines and stem takes the function of photosynthesis.