The hedgehog is a nocturnal mammal that feeds on beetles, larvae, and earthworms, among other things. It seeks shelter in dense vegetation and builds nests under bushes, leaves, and branches. Gardens with hiding places and safe connections between green spaces help hedgehogs.