Foundation is a science fiction novel written by Isaac Asimov. The story is set in a future where a mathematician named Hari Seldon predicts the fall of the Galactic Empire. To prevent a dark age that would last for thousands of years, Seldon establishes a foundation to preserve knowledge and guide humanity's future. The book spans several centuries and explores themes of politics, religion, and the cyclical nature of history. With its epic scope and intricate plotting, Foundation is a seminal work in the science fiction genre.