Pfizer interview question

How does mass spectrometry work?