Mass spectrometry requires samples to be in a gaseous state for analysis, typically conducted under vacuum conditions. Solid samples can be analyzed using techniques like secondary ion mass spectrometry (SIMS), which involves bombarding the solid with energetic ions to produce ionized fragments. For liquids, they are often volatile enough to be converted into gas, such as through gas chromatography, where a liquid sample is vaporized upon injection into a hot filament. In liquid chromatography-mass spectrometry (LC-MS), the analytes are ionized using electrospray ionization, where the liquid is pumped through a capillary and ionized without bombardment. After leaving the liquid chromatography unit, the dissolved substances are vaporized before being analyzed in the mass spectrometer. Understanding the various ionization methods is crucial, as different techniques are suited for different types of compounds.