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 ages that follow. The story spans centuries and explores themes of politics, religion, and the cyclical nature of history. This influential book is the first in a series that has had a profound impact on the genre of science fiction.