Photosynthesis stores energy from light in the bonds of carbohydrates. Water provides electrons, releasing oxygen into the atmosphere. Carbon dioxide is the carbon source for building carbohydrates.