Why do plants need sunlight? Plants make their own food by combining a gas called carbon dioxide, which they get from the air, with water from the soil. ... To power the process, the plant uses the energy of sunlight. A green pigment in the leaves called chlorophyll traps the Sun's energy.