The custom of trick-or-treating is thought to have evolved from the 9th century European custom called souling. On November 2, All Souls Day,
Christians would walk from village to village begging for “soul cakes” – square pieces of bread with currants. Beggars would promise to say
prayers on behalf of dead relatives helping the soul’s passage to heaven.