Four substances are involved in both photosynthesis and cellular respiration. They are sugars, water, oxygen, and carbon dioxide. Describe what happens to these four substances during photosynthesis.