Based on the threat of trick-or-treating, adults who naturally dare not mess with these children will give candy and put it in the big pockets that children carry with them. There is also a custom that every family should put a lot of pumpkin lanterns at the door. If you don't treat people and don't give sugar, the children will trample on a pumpkin lantern.
There are several theories about the origin of trick-or-treating. First, in Western Europe, Irish Christians believed that ghosts would wander in front of their homes on Halloween and accepted people's banquets for ghosts. Therefore, after the Halloween party, the villagers dressed up as ghosts and spirits and went outside the village to guide the ghosts to leave the village and avoid the threat of evil spirits. And at this time, the villagers will also be at the mercy of some fruits and other food in the front yard and back yard to feed the ghosts so as not to let them hurt people and animals or plunder other crops. Later, this custom continued and became children's Halloween. The origin of Halloween is quite interesting, and the festivals of foreigners are also quite childlike.