Spectroscopy is used to identify organic molecules in unknown compounds. There are many types of spectroscopy, but most important to organic chemistry are infrared spectroscopy and nuclear magnetic resonance spectroscopy.