Photosynthesis is the process by which green plants, algae, and some bacteria convert light energy into chemical energy. It occurs in the chloroplasts of plant cells, where carbon dioxide and water react in the presence of sunlight to produce glucose and oxygen. The general equation for photosynthesis is:
\[
6CO_2 + 6H_2O \xrightarrow{\text{Light}} C_6H_{12}O_6 + 6O_2
\]
This process is essential for life on Earth, as it forms the base of the food chain and maintains atmospheric oxygen levels.