Foundation is a science fiction novel written by Isaac Asimov. It is the first book in the Foundation series, which follows the collapse and rebirth of a galactic empire. The story revolves around Hari Seldon, a mathematician who predicts the fall of the empire and establishes a plan to shorten the dark ages that will follow. Foundation is a masterful work of science fiction, blending elements of politics, psychology, and sociology to create a compelling narrative.