Why do We Give Out Candy on Halloween?

On All Hallows’ Eve the wealthy used to give food to the poor. People would also leave food out for wandering souls. This tradition has changed over the years to people giving candy to costumed children.