Both plants and animals use exactly the same process (cellular respiration) to extract energy from foods by breaking them down in the presence of oxygen. The gas simply diffuses into plants from their surroundings, including from pores in loose-textured soils.