The specimen is excited with the primary X-radiation. In the process electrons from the inner electron shells are knocked. Electrons from outer electron shells fill the resultant voids emitting a fluorescence radiation that is characteristic in its energy distribution for a particular material. This fluorescence radiation is evaluated by the detector.