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 and civilization. The story spans centuries and follows the rise and fall of different civilizations as they interact with the Foundation. Foundation is a classic work of science fiction that explores themes of history, politics, and the nature of power. It is known for its intricate world-building and its exploration of the concept of psychohistory, a fictional science that predicts the behavior of large groups of people.