Chlorophyll in the chloroplasts absorbs sunlight, giving a leaf its green color.
Energy from sunlight starts a chemical reaction with carbon dioxide and water, creating glucose, which stores energy.
Oxygen is also produced and released into the atmosphere through the stomata.