From ancient medicine to movie monsters and campfire lore, here’s how a soft little confection became a cultural giant.