In the leaves, stomata open to take in carbon dioxide and expel oxygen