The sun, a dazzling celestial body at the heart of our solar system, is a luminous ball of hot, ionized gas that provides the primary source of light and energy for Earth. With a diameter of about 1.4 million kilometers (870,000 miles), the sun is approximately 109 times larger than Earth and boasts a mass that is about 333,000 times greater.