To identify the elements in a star's atmosphere, scientists