Which of the following is the balanced chemical equation?
a) 6H₂O + 6CO₂ -> 6O₂ + C₆H₁₂O₆
b) C₆H₁₂O₆ + 6O₂ -> 6H₂O + 6CO₂
c) H₂O + CO₂ -> O₂ + C₆H₁₂O₆
d) C₆H₁₂O₆ + O₂ -> H₂O + 6CO₂