We have to know before that what is the element, and we use atomic spectroscopy to find how much of the element is present
imp diagram for exam