The type of spectrum produced when electromagnetic radiation is emitted or absorbed as electrons change energy levels in an atom is called the "atomic spectrum". This type of spectrum is unique to each element and can be used to identify the presence of specific elements in a sample.