what part of a plant is responsible for water vapor exiting the plant and carbon dioxide entering the plant?