How are the products represented in the chemical equation for photosynthesis?

A) O2 + 6CO2
B) C6H12O6 + 6H2O
C) 6CO2 + 6H2O
D) C6H12O6 + 6O2