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 human knowledge. The book explores themes of history, politics, and the nature of power. Foundation is considered a seminal work in the science fiction genre and has inspired many subsequent novels and series.