The Sun is the star at the center of our solar system. It is a nearly perfect sphere of hot plasma, with internal convective motion that generates a magnetic field via a dynamo process. It is primarily composed of hydrogen and helium, and is the source of energy that drives Earth's climate and weather.