The Sun is the star at the center of the Solar System. It is almost spherical and consists of hot plasma interwoven with magnetic fields. It has a diameter of about 1,392,684 km (865,374 mi), around 109 times that of Earth, and its mass (1.989×1030 kilograms, approximately 330,000 times the mass of Earth, M⊕) accounts for about 99.86% of the total mass of the Solar System. Chemically, about three quarters of the Sun's mass consists of hydrogen, whereas the rest is mostly helium. The remaining 1.69% (equal to 5,600 M⊕) consists of heavier elements, including oxygen, carbon, neon and iron, among others.