Original: The spectral class of a star is a designated class of a star describing the ionization of its chromosphere, what atomic excitations are most prominent in the light, giving an objective measure of the temperature in this chromosphere.
Simplified: In astronomy, stellar classification is a way of grouping stars by temperature.