Mass analyzers separate ionized molecules based on their mass-to-charge ratios. The main types are quadrupole, time-of-flight, magnetic sector, quadrupole ion trap, and ion cyclotron resonance. A quadrupole uses oscillating electric fields to selectively transmit ions through four rods. Time-of-flight separates ions by their time of flight through a field-free region, with lighter ions arriving first. Magnetic sector analyzers use magnetic and electric fields to curve ion trajectories based on m/z.