Halloween originated from the ancient Celtic festival of Samhain, where the Celts believed the boundary between the living and the dead became blurred and ghosts walked the earth. They wore costumes and made sacrifices in rituals to commemorate the event. Over time, Halloween evolved with Roman and Christian influences, becoming a secular holiday focused on community gatherings and child-friendly activities like trick-or-treating. It grew in popularity in America in the 19th century due to Irish immigration during the potato famine. By the mid-20th century, Halloween had become a holiday directed mainly at entertaining children.