Oxygen released during photosynthesis comes from:

Water

Glucose

CO2

CaCO3