Some plants take in carbon at night
CAM plants open their stomata and fix carbon dioxide at night, storing it as malic acid. During the day, they release that carbon dioxide for the Calvin cycle while keeping the stomata closed, adapting photosynthesis to dry conditions.