Carbon dioxide (CO2) is used by plants during photosynthesis to make glucose, and it is released as a byproduct of cellular respiration in living organisms. This creates a balanced cycle between plants and animals. Nitrogen, oxygen, and hydrogen are not exchanged in this specific way between these two processes.