Foundation is a science fiction novel written by Isaac Asimov. It is set in a future where a mathematician named Hari Seldon predicts the fall of the Galactic Empire and establishes a foundation to preserve knowledge and guide humanity through the dark times ahead. The book explores themes of history, politics, and the nature of power. Foundation is a thought-provoking and influential work that has had a lasting impact on the science fiction genre.