Badgers inhabit various habitats, including woodlands, grasslands, and scrublands. They construct elaborate underground burrow systems called setts, which serve as their homes and can have multiple chambers for sleeping, storing food, and rearing young.