A dam is a structure across a river or waterway that controls water flow, providing advantages like power generation and flood control, but also has notable disadvantages such as dam failure and environmental impact. Dams disrupt ecosystems, degrade water quality, and can lead to loss of biodiversity as habitats are flooded. Additionally, while dams are perceived as clean energy sources, they can contribute to greenhouse gas emissions.