B is correct. Oxygen is released in photosynthesis and used in cellular respiration to produce energy.
A is not correct as oxygen is produced and not used in photosynthesis,
C is not correct as oxygen and carbon dioxide do not interact in photosynthesis,
D is not correct because oxygen is released from plants and not from glucose.