Applied Materials interview question

How does an FTIR spectrometer work