Why do badgers come out at night?

Badgers come out at night to avoid predators

Badgers are rarely seen during the day, and forage for food mainly at night.