A dam was needed for water storage because most of the rain in the area falls in the first few months of the year.
Due to the fact that a significant portion of the annual rainfall falls within the first few months, a dam is necessary for storing water.