Badgers are animals briefly mentioned in How to Train Your Dragon Book series.
Badgers are squat omnivorous mammals related to weasels, otters, and wolverines. They have short well-muscled legs for digging, and usually long faces and short, rounded ears. Most species have grey or brown coloration, often with black and white facial markings. They have long sharp claws and can dig very rapidly after underground prey.
Historic Viking would have encountered the European badger (Meles meles).
Badgers are omnivorous and are able to consume a wide dietary range. This includes plant matter ranging from fruits and nuts such as fallen apples and berries, Grains, and roots of various kinds. They also eat many types of invertebrates from earthworms to various insects. They will even eat hive and all of wasps and bees with more or less impunity. Badgers can eat reptiles and some species have even been known to take on venomous snakes as a meal. They also will eat warm-blooded creatures such as small birds and their eggs, rabbits, mice, other small mammals. Badgers are the main predator of Hedgehogs.
Badgers do not have a function in the How to Train Your Dragon Book series, other than as occasional food for dragons. In real life, humans have eaten badger meat but not regularly.
In reality, Badgers have been hunted and even farmed for their pelts. Their fur is often used to make special brushes for various uses. Another historical use of badgers was for the blood sport of badger-baiting, which is not illegal. Badgers were captured live and then placed in a box or other area where they would be cornered. They were then set upon by a dog or other creature so that it would have to defend itself. Normally fairly docile in demeanor, a badger can fight viciously for its life when trapped and cornered with no way out.