Explain the process of photosynthesis in plants and how it helps in the production of oxygen