Atoms in a solid are never at rest. (Not even when the temperature approaches the absolute zero). They vibrate about their equilibrium positions, and these vibrations can be described theoretically from a knowledge of the interatomic potential energy. Since the displacements from equilibrium are small (even when the solid is about to melt they rarely exceed one tenth of the interatomic spacing), it makes sense to expand the potential in a Taylor series in these displacements. The constant term in the series is irrelevant for the dynamics (there are colorful New Age websites describing the great benefits of having "positive energy", but you know from elementary physics that when it comes to motion a constant energy can always be added arbitrarily with no adverse health effects). The terms linear in the displacements vanish because the forces are zero at the equilibrium position. Therefore, the first non-trivial terms in the series are those quadratic in the displacements. In the so-called "harmonic approximation" the series is truncated at this point and all higher-order terms are neglected. All physical effects which require these higher-order terms for their explanation are said to be due to "anharmonicity."
The vibrational frequencies calculated within the harmonic approximation are in excellent agreement with experiment in all semiconductors. Moreover, the calculations can be performed from "first principles" (with no experimental input), by cleverly applying the rules of quantum mechanics to the lattice of atoms. The density functional theory underlying this type of calculations earned Walter Kohn the 1998 Nobel Prize in Chemistry. Even though the harmonic approximation is so good, in real life there are measurable deviations from its predictions. In a harmonic world there is no thermal expansion, the vibrational frequencies are independent of any applied stress, and any particular vibration, once started, would last forever. Deviations from these predictions can be easily measured in the laboratory, as seen in the graph below.