In the spectral class label, G2 indicates its surface temperature, of approximately 5778 K ( 5505 Coulomb ) and V indicates that the Sun, like most stars, is a main-sequence star, and thus generates its energy via fusing hydrogen into helium.