information:filtering
Source and drainage basin

Rivers are part of the water cycle, the continuous processes by which water moves about Earth. This means that all water that flows in rivers must ultimately come from precipitation. The sides of rivers have land that is at a higher elevation than the river itself, and in these areas, water flows downhill into the river. The headwaters of a river are the smaller streams that feed a river, and make up the river's source. These streams may be small and flow rapidly down the sides of mountains. All of the land uphill of a river that feeds it with water in this way is in that river's drainage basin or watershed. A ridge of higher elevation land is what typically separates drainage basins; water on one side of a ridge will flow into one set of rivers, and water on the other side will flow into another. One example of this is the Continental Divide of the Americas in the Rocky Mountains. Water on the western side of the divide flows into the Pacific Ocean, whereas water on the other side flows into the Atlantic Ocean.

Not all precipitation flows directly into rivers; some water seeps into underground aquifers. These, in turn, can still feed rivers via the water table, the groundwater beneath the surface of the land stored in the soil. Water flows into rivers in places where the river's elevation is lower than that of the water table. This phenomenon is why rivers can still flow even during times of drought. Rivers are also fed by the melting of snow glaciers present in higher elevation regions. In summer months, higher temperatures melt snow and ice, causing additional water to flow into rivers. Glacier melt can supplement snow melt in times like the late summer, when there may be less snow left to melt, helping to ensure that the rivers downstream of the glaciers have a continuous supply of water.