The study of how electrons, atoms, and molecules interact with one another and with the lattice vibrations of solids.