Where in an equation for photosynthesis does oxygen belong?

A.on the left side, because it is a product
B.on the right side, because it is a product
C.on the right side, because it is a reactant
D.on the left side, because it is a reactant