what do the pattern of lines in a star's absorption spectrum represent?