Photosynthesis makes the glucose that is used in cellular respiration to make ATP. The glucose is then turned back intocarbon dioxide, which is used in photosynthesis. While water is broken down to form oxygen during photosynthesis, incellular respiration oxygen is combined with hydrogen to form water.