CAM plants keep stomata closed in the daytime, thus reducing the loss of water fix CO2 into organic acids during the night.
CAM plants are the plants which use the crassulacean acid metabolism. That means that these plants minimize losing water by separating steps of CO2 and the Calvin cycle in time, between night and day. During the night CO2 is fixed by PEP carboxylase into oxaloacetate and then converted to malate or another type of organic acid. Organic acids are broken down during the day and the released CO2 enters the Calvin cycle.