What is the structure where water vapor leaves the leaf and carbon dioxide enters the leaf?
There are openings on the underside of a leaf called stomates. They have guard cells shaped like lips. They open and close to allow CO2 in and H2O and O2 out. It works using hydrostatic pressure.