Answer:
1 - They are used to provide electricity.
2 - They help to prevent floods.
Step-by-step explanation:
In general, a dam is used to provide electricity using the power of the water. However, another importance (and purpose) is to prevent floods. Once it's building is carefully thought and executed, the deviation of the watercourses and to contain it in a single space is better to control, and avoid floods.