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. Seldon establishes a foundation to preserve knowledge and guide humanity through the impending dark age. The book explores themes of psychohistory, a fictional science that combines history and statistics to predict the future. Foundation has been praised for its visionary ideas and its examination of the nature of reality and human civilization.