Beavers build dams to create ponds that give them protection from predators and increase the water level to encourage new growth of the trees they like to eat. This is why beavers are a keystone species, because the wetlands they create become habitat for so many other species.