Speculative fiction is an umbrella phrase encompassing the more fantastical fiction genres, specifically science fiction, fantasy, horror, supernatural fiction, superhero fiction, utopian and dystopian fiction, apocalyptic and post-apocalyptic fiction, and alternate history in literature as well as related static, motion, and virtual arts.
It has been around since humans began to speak. The earliest forms of speculative fiction were likely mythological tales told around the campfire. Speculative fiction deals with the "What if?" scenarios imagined by dreamers and thinkers worldwide. Journeys to other worlds through the vast reaches of distant space; magical quests to free worlds enslaved by terrible beings; malevolent supernatural powers seeking to increase their spheres of influence across multiple dimensions and times; all of these fall into the realm of speculative fiction.
Speculative fiction as a category ranges from ancient works to cutting edge, paradigm-changing, and neotraditional works of the 21st century. It can be recognized in works whose authors' intentions or the social contexts of the versions of stories they portrayed is now known. For example, Ancient Greek dramatists such as Euripides, whose play Medea (play) seemed to have offended Athenian audiences when he fictionally speculated that shamaness Medea killed her own children instead of their being killed by other Corinthians after her departure. The play Hippolytus, narratively introduced by Aphrodite, is suspected to have displeased contemporary audiences of the day because it portrayed Phaedra as too lusty.
In historiography, what is now called speculative fiction has previously been termed "historical invention", "historical fiction," and other similar names. It is extensively noted in the literary criticism of the works of William Shakespeare when he co-locates Athenian Duke Theseus and Amazonian Queen Hippolyta, English fairy Puck, and Roman god Cupid all together in the fairyland of its Merovingian Germanic sovereign Oberon in A Midsummer Night's Dream. In mythography it has been termed "mythopoesis" or mythopoeia, "fictional speculation", the creative design and generation of lore, regarding such works as J. R. R. Tolkien's The Lord of the Rings. Such supernatural, alternate history, and sexuality themes continue in works produced within the modern speculative fiction genre.