The balanced equation for photosynthesis is
6 CO2 + 6 H2O → C6H12O6 + 6 O2.