X-ray fluorescence (XRF) works by bombarding a sample with high-energy X-rays, which causes electrons in the atoms of the sample to be ejected from their inner shells; Once ejected, they emit characteristic X-rays that are unique to each element. X-rays are then registered by the detector in the XRF instrument, which in turn categorizes and quantifies them by element.
