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 galactic empires. The story follows Hari Seldon, a mathematician who predicts the impending collapse of the current empire and establishes a foundation to preserve knowledge and guide humanity through the dark ages. Foundation is a thought-provoking and epic tale of science, politics, and the future of civilization.