The Sun is a star like many others in our Milky Way galaxy. The Sun is a type of star called a G-type main-sequence star based on its spectral class. It has existed for a little over 4.5 billion years. It is going to continue for at least as long. The Sun is about a hundred times as wide as the Earth. It has a mass of . This is 333,000 times the mass of the Earth. 1.3 million Earths can fit inside the Sun.