To make food (in other words, for photosynthesis), plants needs the following:
Carbon dioxide – it comes from the air, passing through pores in the leaves. These pores are called stomata.
Water – absorbed by the roots and passes through vessels of the stem on its way to the leaves
Sunlight – absorbed by a greed chemical in the leaves