Wearing costumes on this day goes back to a medieval practice of dressing as angels & demons
It was the only day on which the help of the devil was invoked for 
such ... Halloween symbols, customs, and practices undoubtedly have had a 
variety of ... the livingso it was advantageous to hide from them by wearing 
costumes.