A closer look at Luminosity class
Stars of similar temperature can have different surface gravities.
These affect line shapes in their spectra, allowing astronomers to distinguish dwarfs, giants, and supergiants. Roman numerals record the luminosity class in a common classification scheme.
The Sun’s G2 V label combines temperature subtype with luminosity class V, which identifies a main-sequence star.
Want to learn more about Luminosity class? Stellar classification on Wikipedia.

