There are a number of reasons that people build dams . Based on structure and material used , dams are classified as timber dams , arch-gravity dams , embankment dams or masonry dams , with several subtypes .