By photosynthesis and respiration.
The plants utilise carbon dioxide during the photosynthesis.
The carbon dioxide is reduced to glucose and oxygen is released by the photolysis of water as by.
I am very good in world history, math, and earth science