Foundation is a science fiction novel by Isaac Asimov. It is the first book in the Foundation series, which spans thousands of years and explores the rise and fall of civilizations in a future galactic empire. The story revolves around a mathematician named Hari Seldon who predicts the impending collapse of the empire and establishes a foundation to preserve knowledge and guide humanity through the dark times. Asimov's writing combines elements of science fiction, politics, and philosophy to create a thought-provoking narrative.