Which of the following gases do plants and trees give out during photosynthesis?

Which of the following gases do plants and trees give out during photosynthesis?

A. Hydrogen
B. Nitrogen
C. Oxygen
D. Carbon dioxide