Where Did Halloween Originate?

Way back in the 19th centur people celebrated halloween. At that time, it was a time to celebrate those that were dead and they worshipped ghost.