An astronomer is a scientist in the field of astronomy who focuses their studies on a specific question or field outside the scope of Earth. Hence, these lines can be used to:
From spectral lines astronomers can determine not only the element, but the temperature and density of that element in the star. The spectral line also can tell us about any magnetic field of the star.
Therefore, the the lines can be used to identify elements that are present in the star.
learn more about astronomy from here: https://brainly.com/question/4239329