The Sun is the largest object within our solar system, comprising 99.8% of the system’s mass. The Sun is located at the center of our solar system, and Earth orbits 93 million miles away from it. Though massive, the Sun still isn’t as large as other types of stars. It’s classified as a yellow dwarf star. The Sun’s magnetic field spreads throughout the solar system via the solar wind.