Photosynthesis is the biochemical process by which green plants, algae, and some bacteria convert light energy into chemical energy, using sunlight, carbon dioxide, and water. The energy from sunlight is absorbed by chlorophyll, a pigment found in plant cells. This process produces glucose, which serves as a source of energy, and oxygen is released as a by-product. The general equation for photosynthesis is:
\[
6CO_2 + 6H_2O \xrightarrow{\text{light}} C_6H_{12}O_6 + 6O_2
\]