The water cycle is the continuous circulation of water across the Earth. The water cycle is driven by solar energy. As water moves through the cycle, it changes state between liquid, solid, and gas phases.
When water is heated by the sun, is taken up by the atmosphere from the earth's surface in vapour form through evaporation. In evaporation, state of water changes from liquid to gas as it moves from the ground, or from bodies of water like the ocean, rivers and dams, into the atmosphere. Then water vapours in the atmosphere cools at higher altitudes and is condensed back to its liquid form to form clouds. Water then returns to the surface of the earth in the form of either liquid (rain) or solid (snow, only if temperatures in the atmosphere are around freezing). This is called precipitation. Some of this water filters into the soil and collects underground. This is called infiltration. This water may evaporate again at a later stage, or the underground water may seep into another water body. This cycle continues through the processes of evaporation, condensation, precipitation, infiltration. It is because of the ability of water to change its state, water is constantly recycled and circulation of water is retained.