By comparing the absorption lines of the sun with emission spectra of known gasses , the chemical composition of stars can be determined .
By comparing the absorption lines of the Sun with emission spectra of known gasses , the chemical composition of stars can be discovered .