Here's why:
* Photosynthesis is the process where plants use sunlight, water, and carbon dioxide to create their own food (glucose) and release oxygen as a byproduct.
* The oxygen comes from the splitting of water molecules during the light-dependent reactions of photosynthesis.