The study of the vibrations of atoms and molecules in a material, including infrared and Raman spectroscopy.