Answer:
to create a reservoir where water is stored at a given height
Explanation:
The water from the reservoir is allowed to flow over the dam in a controlled way. As the water falls it turns turbines and generates electricity.