Mass spectroscopy is a technique used to analyze molecules. It involves ionizing molecules using electrons, accelerating the ions, and separating them based on their mass-to-charge ratio using electric or magnetic fields. The ions are then detected, producing a mass spectrum that is unique to each molecule and can be used to determine molecular structure. Mass spectroscopy requires only a small amount of sample and provides accurate molecular mass and elemental composition information. It is a destructive technique as the sample is consumed during ionization and fragmentation processes.