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 will follow. The story spans centuries and follows the rise and fall of different civilizations as they interact with the Foundation. Foundation is considered a classic of science fiction and explores themes such as the cyclical nature of history and the power of knowledge.