Why Do Beavers Build Dams?

Why Do Beavers Build Dams?