The answer is a dam. A dam is a large wall or barrier that blocks or stops the flow of water, forming a reservoir a lake. Most of them have a section called a spillway or weir over which, or through which, water flows sometimes or always depending on the levels of water. They serve to primarily retain and conserve water.