A dam is a barrier that impounds water or underground streams. Dams generally serve the primary purpose of retaining water, while other structures such as floodgates or levees (also known as dikes) are used to manage or prevent water flow into specific land regions.
Hydropower and pumped-storage hydroelectricity are often used in conjunction with dams to generate electricity. A dam can also be used to collect water or for storage of water which can be evenly distributed between locations.
The word dam can be traced back to Middle English,[1] and before that, from Middle Dutch, as seen in the names of many old cities.