In the chloroplasts of green plants, molecular oxygen is created during the light-dependent reactions on the tetra-metallic manganese-containing active site of the O2-evolving complex of photosystem II when two (coordinated) water molecules are oxidized to yield a molecule of O2. Meanwhile, the Calvin cycle consists of the following intermediate products: RuBP --> 3PG --> BPG --> G3P --> DHAP --> FBP --> F6P --> G6P --> glucose. Thus glucose is produced only in the Calvin cycle, and oxygen only in the light-dependent reactions on photosystem II in thylakoid membranes. hope this helps! sorry that is long.