Transpiration cools leaves through evaporative cooling - as liquid water evaporates from leaf surfaces, it absorbs heat energy (latent heat of vaporization). This is similar to how sweating cools human skin. Respiration and photosynthesis are metabolic processes that may produce heat, not cooling.