A method used by scientists to measure and compare the mass and the electrical charge of ions, thereby determining the elemental or isotopic signature of a sample, the masses of particles and of molecules, and elucidating the chemical identity or structure of molecules and other chemical compounds.