Latent heat is absorbed or released when water changes phase.
The hydrologic cycle involves the flow of water throught the environment.