A dam is a structure commonly built across a river or stream to create a large reservoir behind it. We use dams for various human consumption purposes such as irrigation, hydroelectric power, reducing peak floodwater, and improving navigation. Dams also have extra work such as spillways, valves and…