Halloween's modern celebration retains historic roots in dressing to scare away the spirits of the dead.
Since the fifth century BC, Halloween has been celebrated as a cross-quarter day, a day halfway between an equinox (equal day / equal night) and a solstice (minimum day / maximum night in the northern hemisphere).