Dear Student,
Plants respire not only through leaves. Roots and stems also take part in respiration. The plant roots respire and take up oxygen from the air spaces in the soil particles. Stems of higher plants or woody plants have lenticels which take part in the exchange of gases.
Regards