According to legend, Halloween began as the night when spirits of the dead hunt for bodies to possess. In order to avoid becoming possessed, people left out food or wore disguises, and this turned into our current custom of trick-or-treat.