Mass spectrometry is an analytical technique that ionizes chemical species and sorts the ions based on their mass-to-charge ratio. It operates by first converting molecules to ions, then separating and detecting these ions. The three main components are an ion source, a mass analyzer, and a detector. The document discusses the basic principles of mass spectrometry including ionization methods like electron impact ionization and chemical ionization. It also describes several types of mass analyzers such as quadrupole, time-of-flight, and Fourier transform ion cyclotron resonance analyzers. Common detectors include Faraday cups, electron multipliers, and photomultiplier tubes. Mass spectrometry is used to determine molecular structure and analyze organic and inorganic