Dams are built over rivers in hilly/mountainous areas. They are more advantageous because they store running river water which can be used to generate electricity. Moreover, since the water stored in dam keeps flowing to turn the turbines, it does not act as a breeding ground for mosquitoes (which spread malaria). The stagnant water in ponds and lakes, however, becomes a breeding ground for mosquitoes.