To synthesize carbohydrates from carbon dioxide and water using the energy of light by photosynthesis