See Stellar classification for details.