The Celts believed the souls of the dead roamed the streets and villages at night. Since not all spirits were thought to be friendly, gifts and treats were left out to pacify the evil and ensure next years crops would be plentiful. This custom evolved into trick-or-treating.