Foundation is a science fiction book written by Isaac Asimov. It is set in a future where a mathematician named Hari Seldon predicts the fall of the Galactic Empire. Seldon creates a plan to ensure the survival of humanity, known as the Foundation. The book follows the rise and fall of the Foundation as it navigates political intrigue and the challenges of rebuilding civilization.