A dam is a hydraulic engineering structure designed to store water in a reservoir created by the construction of the dam. A reservoir is used to store large quantities of water for various purposes, such as feeding a canal or generating electricity.