During photosynthesis, the oxygen of CO2 is incorporated into
Oxygen gas
H2S
Carbohydrates
NADPH2
The oxygen of CO2 is incorporated into carbohydrate and some into the liberated water.