From what I've gathered, Halloween was a night that monsters and ghosts were free to wander so people would dress up to hide from them. It's an old belief but it seems it's changed over time like most holidays. Now it's just for fun. Some cultures celebrate it as the day of the dead instead which is a time to honor your ancestors.
[Video]