Spectroscopy is the study of electromagnetic radiation and its interaction with solid, liquid, gas and plasma. It is one of …