Hydropower or water power (from the Greek: ύδωρ, "water") is power derived from the energy of falling water or fast running water, which may be harnessed for useful purposes. Since ancient times, hydropower from many kinds of watermills has been used as a renewable energy source for irrigation and the operation of various mechanical devices, such as gristmills, sawmills, textile mills, trip hammers, dock cranes, domestic lifts, and ore mills. A trompe, which produces compressed air from falling water, is sometimes used to power other machinery at a distance.
In the late 19th century, hydropower became a source for generating electricity. Cragside in Northumberland was the first house powered by hydroelectricity in 1878 and the first commercial hydroelectric power plant was built at Niagara Falls in 1879. In 1881, street lamps in the city of Niagara Falls were powered by hydropower.
Since the early 20th century, the term has been used almost exclusively in conjunction with the modern development of hydroelectric power. International institutions such as the World Bank view hydropower as a means for economic development without adding substantial amounts of carbon to the atmosphere, but dams can have significant negative social and environmental impacts.
In India, water wheels and watermills were built; in Imperial Rome, water powered mills produced flour from grain, and were also used for sawing timber and stone; in China, watermills were widely used since the Han dynasty. In China and the rest of the Far East, hydraulically operated "pot wheel" pumps raised water into crop or irrigation canals.