During the pagan pre-Halloween celebration of Samhain, bonfires were lit to ensure the sun would return after the winter.