A Mass Spectrometer is an anlytical instrument which gives the information of the molecular weight of the sample i.e.,you can get the m/z values.If u take a sample and keep it in the mass spectrometer the sample first ionizes and splits into fragments ,and these fragments are entered into an mass analyzer in which the fragments m/z values are analysed and detected to get the mass spectrogram.
In mass spectrogram the stable peak or the base peak in which having the highest abundance peak.
You can get the information from Google search.