In general (depending on the half-life of the decay), gamma rays have very narrow linewidths. This means they are very sensitive to small changes in the energies of nuclear transitions. In fact, gamma rays can be used as a probe to observe the effects of interactions between a nucleus and its electrons and those of its neighbors. This is the basis for Mössbauer spectroscopy, which combines the Mössbauer effect with the Doppler effect to monitor such interactions.