In a solid, the nuclei are bound to the lattice and do not recoil in the same way as in a gas. The lattice as a whole recoils but the recoil energy is negligible because the M in the above equation is the mass of the whole lattice. However, the energy in a decay can be taken up or supplied by lattice vibrations. The energy of these vibrations is quantised in units known as phonons. The Mössbauer effect occurs because there is a finite probability of a decay occurring involving no phonons. Thus in a fraction of the nuclear events (the recoil-free fraction, given by the Lamb–Mössbauer factor), the entire crystal acts as the recoiling body, and these events are essentially recoil-free. In these cases, since the recoil energy is negligible, the emitted gamma rays have the appropriate energy and resonance can occur.