The science section explains that, apart from the wizards, this is probably how humanity and science developed; the imagination that peopled the night with terrors went on to create a story in which there was a reliable light source, and made that story reality.