Stomata
Air enters the plant through these openings. The carbon dioxide is used in photosynthesis, which also produces oxygen. The plant uses some of the oxygen but the rest is waste that exits through these same openings. Also, water vapor goes into the atmosphere through these pores in transpiration.