Foundation is a science fiction novel written 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 galaxy-wide empire. The story revolves around Hari Seldon, a mathematician who predicts the impending collapse of the empire and establishes a foundation to preserve knowledge and guide humanity through the dark times ahead. Foundation is a seminal work of science fiction that delves into themes of history, politics, and the nature of power.