Foundation is a science fiction book series written by Isaac Asimov. It is set in a future where a mathematician named Hari Seldon predicts the fall of the Galactic Empire. Seldon establishes a foundation to preserve knowledge and guide humanity through the dark ages that follow. The series spans thousands of years and explores the rise and fall of civilizations in a vast galactic setting.