While cellular respiration is a catabolic pathway that breaks down molecules to release energy, photosynthesis is an anabolic pathway that builds molecules using energy from light. Photosynthesis occurs in the chloroplasts of plant cells and some algae, converting carbon dioxide and water into glucose and oxygen.