Explain the process of photosynthesis in plants and how it benefits both the plant and the environment