How THE FUCK does spectroscopy work?

No.11632730 ViewReplyOriginalReport
Spectroscopy involves shooting light waves into a piece of material, and measuring the resulting response to see what vibrations exist in that material.

How the fuck does it work out so nicely?

I mean how are we able to clearly get vibrational signals out of something by just shooting light into it?