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 follows the rise and fall of different civilizations. Foundation explores themes of history, politics, and the cyclical nature of civilization. It is considered a seminal work of science fiction and has influenced many subsequent authors.