GPT-6.2 Sol
Think of a leaf as a tiny kitchen. The ingredients are water, which the roots soak up, and carbon dioxide, a gas that enters the leaves from the air. Sunlight supplies the energy to run the kitchen.
Chlorophyll, the green pigment in leaves, captures sunlight. The plant uses that energy to turn water and carbon dioxide into a sugar called glucose. The plant can use glucose for energy and growth or save it for later. Oxygen is also made and released into the air.
In short: Photosynthesis uses energy from sunlight to turn water and carbon dioxide into sugar and oxygen.