Mass spectrometry is a technique that involves (1) creating gas phase ions from analyte atoms or molecules, (2) separating the ions based on their mass-to-charge ratio, and (3) measuring ion abundance. It provides qualitative and quantitative analysis, molecular structure information, and is used for identification and characterization. The basic components include a sample introduction system, ion source, mass analyzer, detector, and vacuum system. Common applications are in drug discovery, clinical testing, genomics, environmental analysis, and geology.