Beavers build dams by using a combination of materials such as logs, branches, rocks, and mud. They use their sharp teeth to cut down trees and branches, then drag them to the water to construct the dam. The structure is built strategically to create a barrier that raises the water level, creating a pond where they can build their lodge and store food for the winter.