Question: why is oxygen formed in photosynthesis?
Answer: During the light reactions, an electron is stripped from a water molecule freeing the oxygen and hydrogen atoms. The free oxygen atom combines with another free oxygen atom to produce oxygen gas which is then released.