During photosynthesis carbon dioxide is energetically enriched with hydrogen from water. Water broken by photolysis is the hydrogen donor of the reaction. Glucose is made of carbon and oxygen atoms obtained from carbon dioxide and of hydrogen atoms obtained from water.