Science fiction can be seen as a form of fantasy, but the terms are not interchangeable. Science fiction usually is set in the future and is based on some aspect of science or technology. Fantasy, by contrast, is often set in an imaginary world and features the magic of mythical beings.
Fantasy literature includes novels, short stories, plays, and poems, written for adults, young adults, and children. Examples include William Shakespeare’s A Midsummer Night’s Dream, Jonathan Swift’s Gulliver’s Travels, Lewis Carroll’s Alice’s Adventures in Wonderland, J.R.R. Tolkien’s The Lord of the Rings, C.S. Lewis’s The Chronicles of Narnia, T.H. White’s The Once and Future King, Madeleine L’Engle’s A Wrinkle in Time, and Ursula Le Guin’s A Wizard of Earthsea. Among the many notable contemporary works of fantasy are Terry Pratchett’s Discworld series, Philip Pullman’s His Dark Materials trilogy, George R.R. Martin’s A Game of Thrones, J.K. Rowling’s Harry Potter series, and Neil Gaiman’s American Gods. Fantasy is also a popular genre of television and film, and many fantasy books have been adapted for the screen.