This process is called photosynthesis. Here's how it works:
* Light energy from the sun is absorbed by chlorophyll, a green pigment in plants.
* This energy is used to convert carbon dioxide from the air and water from the soil into glucose (a sugar) and oxygen.
* The glucose is a form of chemical energy that the plant can use for growth, reproduction, and other life processes.
So, the answer is light energy.