Apocalyptic and post-apocalyptic fiction is a subgenre of science fiction in which the Earth's civilization is collapsing or has collapsed.