How can spectroscopy be used to identify elements in stars?