Here's the simplified equation for photosynthesis:
CO2 + H2O + light energy → C6H12O6 + O2
* CO2 (carbon dioxide) is absorbed from the atmosphere.
* H2O (water) is absorbed from the soil through the roots.
* Light energy is captured by chlorophyll in the chloroplasts of plant cells.
* C6H12O6 (glucose) is a sugar that provides energy for the plant.
* O2 (oxygen) is released as a byproduct.
So, photosynthesis essentially converts light energy into chemical energy stored in glucose, using carbon dioxide and water as the building blocks.