A magnetic-sector mass analyzer is a type of mass spectrometry instrument used to separate and detect ions based on their mass-to-charge ratio. It utilizes a strong magnetic field to bend the trajectory of charged particles, allowing for the separation and identification of different molecular species.