Photosynthesis takes place in plants to give them energy. Plants use sunlight, water and carbon dioxide to make food (energy in the form of sugars) and oxygen.