Photosynthesis gets its energy primarily from sunlight. During this process, plants, algae, and some bacteria convert light energy into chemical energy. The green pigment chlorophyll, found in the chloroplasts of plant cells, captures light energy from the sun. This energy is then used to convert carbon dioxide and water into glucose (a sugar) and oxygen.
The overall equation for photosynthesis can be summarized as follows:
\[ 6 \text{CO}_2 + 6 \text{H}_2\text{O} + \text{light energy} \rightarrow \text{C}6\text{H}{12}\text{O}_6 + 6 \text{O}_2 \]
Here, CO₂ represents carbon dioxide, H₂O represents water, C₆H₁₂O₆ represents glucose, and O₂ represents oxygen.