Here are spectra for some elements common in the atmospheres of stars:
Here is the spectrum of a mystery star:
Which elements are present?
Calcium Hydrogen Iron Magnesium