Pfizer Interview Question

How does mass spectrometry work?