Apocalyptic fiction is a sub-genre of science fiction that deals with the end of human civilization, typically due to a global catastrophe such as nuclear war, a pandemic, or an asteroid impact. Post-apocalyptic fiction, a closely related sub-genre, focuses on the survivors in the aftermath of such an event. Other sub-genres like space opera or cyberpunk do not center on the end of the world.