Plants obtain the gases they need through their leaves. They require oxygen for respiration and carbon dioxide for photosynthesis.
Step-by-step explanation:
The gases diffuse between the cells spaces of the leaf through pores, which are normally on the underside of the leaf - stomata. From these spaces they will diffuse into the cells that require them.