The story of the Jack o'Lantern comes from Irish folklore. Jack was a crafty farmer who tricked the Devil into climbing a tall tree.I found the story here, including a recipe for roasting pumpkin seeds.
When the Devil reached the highest branch, Jack carved a large cross in the trunk, making it impossible for the Devil to climb down. In exchange for help getting out of the tree, the Devil promised never to tempt Jack with evil again.
When Jack died, he was turned away from Heaven for his sins and turned away from Hell because of his trickery. Condemned to wander the Earth without rest, Jack carved out one of his turnips, took an ember from the devil, and used it for a lantern to light his way. He became known as "Jack of the Lantern."
Another interesting fact to share, "Today, pumpkins mean big business at Halloween: U.S. farmers grow over a billion pounds a year, worth about $106 million."