Mass spectrometry is an analytical technique that ionizes molecular fragments and sorts the subsequent ions based on their mass-to-charge ratio. It can be used to determine molecular mass and structure. The document discusses the basic principles, instrumentation, and fragmentation patterns of mass spectrometry. The instrumentation involves an ion source, mass analyzer, and detector. Molecular ions, fragment ions, and rearrangement ions are produced through electron bombardment. Fragmentation occurs primarily through homolytic or heterolytic cleavage and can produce stable carbocations. Mass spectrometry provides molecular weight and structural information.