Foundation is a science fiction novel written by Isaac Asimov. Set in a future where a galactic empire is in decline, the story follows Hari Seldon, a mathematician who predicts the impending collapse of civilization. In an effort to preserve knowledge and shorten the dark ages that will follow, Seldon establishes the Foundation, a group tasked with guiding humanity's future. Foundation is a seminal work of science fiction, exploring themes of history, politics, and the power of ideas.