The sun is what makes the water cycle work. Heat causes a liquid and frozen water to evaporate into water vapour gas, which rises high in the sky, to form clouds.
Gravity pulls denser air and water downward, forcing less dense air and water to move upward. The warm water near the surface of the ocean heats up with sunlight and evaporates, keeping the water cycle in motion.