<span>Robert Hooke did this in 1665</span>
Plants need energy from the sun, water from the soil, and carbon from the air. The plant uses the carbon to form the leaves and stem and roots. I can go more into detail in the comments if you need.
It is an example of migration. Hope this helps!