Here's the simplified chemical equation:
6CO₂ + 6H₂O + light energy → C₆H₁₂O₆ + 6O₂
* CO₂ = Carbon dioxide
* H₂O = Water
* light energy = Energy from sunlight
* C₆H₁₂O₆ = Glucose (a sugar)
* O₂ = Oxygen
The glucose is a source of energy for the plant, and the oxygen is released into the atmosphere.