These are spectra of stars of different types, from O type (the hottest) through to M type (the coldest). You can see that the patterns of the dark lines are very different in each case.