Plants use a process called photosynthesis in order to change sunlight into food. Their cells contain packets of a green pigment called chlorophyll that carries out this process. During photosynthesis water and carbon dioxide from the air are converted into sugars that nourish the plant.
Picture credit: google