Leaf transpiration occurs through stomata, and can be thought of as a necessary "cost" associated with the opening of stomata to allow the diffusion of carbon dioxide gas from the air for photosynthesis. Transpiration also cools plants and enables mass flow of mineral nutrients and water from roots to shoots