Plants convert the energy of sunlight into chemical energy (in the form of sugar). All they need as nutrients is carbon dioxide from the air (C02) and water (H20) and minerals from the soil. This reaction also produces the oxygen we need to live.
This process is called photosynthesis. If a plant lacks light, it cannot grow because it has no energy.