Foundation is a science fiction novel written by Isaac Asimov. It is the first book in the Foundation series, which spans thousands of years and explores the rise and fall of civilizations in a galactic empire. The story revolves around Hari Seldon, a mathematician who predicts the impending collapse of the empire and establishes a plan to preserve knowledge and shorten the dark age that follows. Foundation is considered a seminal work in the genre.