Using the sun's energy, leaves combine the water drawn up by the roots with carbon dioxide from the air and make sugars, which are their food. Oxygen is released as a by-product.
That is why a plant in poor light grows weak and leggy, and why you should not remove too many healthy leaves when pruning: they are the factories that feed flowers, fruit and roots.

