Infrared spectroscopy analyzes molecular vibrations induced by infrared light absorption. It provides information about functional groups present in molecules. There are two main types of vibrations - stretching and bending. Stretching vibrations involve changes in bond lengths and require higher energy, while bending vibrations involve changes in bond angles and require lower energy. IR spectroscopy is used to identify functional groups like alcohols, aldehydes, ketones, carboxylic acids, amines, amides, alkenes, alkynes, and nitriles based on their characteristic absorption bands.