The Short Answer
Beavers do not usually live in their dams. They build them to create a pond. The pond is deep enough to keep their lodge entrances underwater, it gives them safer travel and it makes food and building material easier to reach. The home is the lodge or a bank burrow, and the dam is the tool that makes the home work.
The Dam Makes the Pond, the Pond Protects the Home
A beaver lodge is a mound of sticks and mud, usually built in or beside a pond, with entrances below the waterline. For that to work, the water has to be deep and stable. In a small stream the level can drop or rise, so beavers dam the flow to hold the water at a useful depth. Deep water also helps keep entrances from freezing shut in cold climates, though this depends on conditions.
Safety From Predators
On land, beavers are slow and vulnerable. In water they are strong swimmers. A larger pond lets them stay in the water longer and escape quickly if a predator approaches. Underwater lodge entrances make it harder for land predators to reach the family inside.
Food and Transport
Beavers eat bark, twigs, leaves and aquatic plants, and they cut trees both for food and for building. Dragging heavy logs over land is hard work, while floating them across a pond is much easier. A pond also lets beavers reach trees that grow near the water without exposing themselves for long. In winter, they often store cut branches underwater near the lodge as a food cache.
What Triggers Dam Building?
Researchers have long noted that the sound and feel of running water can prompt beavers to add material to a leak or gap. This helps explain why they patch dams repeatedly. Not every beaver builds a dam, however. Some beavers living along large rivers or lakes, where the water is already deep, use bank burrows instead and may not need a dam at all.
Beaver Dams and Human Dams
Beaver dams are made of sticks, mud and stones and are usually much smaller than human dams, though some can be quite long. They change the landscape by slowing water, creating wetlands and altering habitat for other species. Human builders have been making their own versions for thousands of years, as covered in the history of dams. If you want the engineering side, see how does a dam work.