Trick-or-treating has been around since medieval times. During this time, it was known as ‘guising’ in Scotland and Ireland. People would dress up and sing songs or recite poems for food or money. Nowadays, children wear costumes and ask for candy.