The water cycle ensures that we have water available by two major processes driven by the sun: Condensation and Evaporation.
When surface water is heated up by the sun, it evaporates into the atmosphere, and subsequently condenses into water droplets, which eventually precipitates as rain, sleet, hail or snow. This ensures that freshwater is always available for the use of living organisms.