Photosynthesis takes Carbon Dioxide, Water, and Sunlight to make Glucose and oxygen, but this glucose is STORED. Cellular respiration takes this glucose and oxygen and converts it to Carbon Dioxide, water, and energy (ATP), so the equations match if you switch them. This process releases the glucose as energy