A hydroelectric dam or simply dam is a barrier across flowing water in order to create a reservoir, to conserve water as well as use it for other industrial as well as domestic purposes. The wter stored in hydroelectric dam is used to generate electricity.