Here's a simplified breakdown:
* Sunlight provides the energy.
* Water is absorbed from the soil through the roots.
* Carbon dioxide is taken in from the air through tiny pores on the leaves called stomata.
The plant uses these ingredients to create glucose, which is its food source, and oxygen, which is released into the atmosphere.