Energy-dispersive X-ray spectrometry (EDS) measures and maps the distribution of elements within a sample. It can be used as a powerful imaging tool, providing accurate identification of stains, labels, and ultrastructural features. Additionally, EDS can be used to conduct analysis on the relative quantities of a wide range of elements, providing compositional data on native elements and exogenous features.