There are a number of reasons that people build dams. Some countries build dams to control the flow of water in the downstream river systems, and prevent flooding. Other countries build dams to generate electricity using hydroelectric turbine generators. Other countries use dams to store water for use in irrigation (for farming) or drinking by people.