ABSORPTION LINES
The dark lines show what elements are coming from the light emitted from stars. So using these lines we can find out what elements the stars light is composed of for example: Hydrogen,oxygen and nitrogen.