detuning



I've been reading about spectroscopy (specifically Ramsey
spectroscopy) and they always have detuning so that the laser
frequency is different from the atomic frequency. Why is this? Why not
try and have total resonance? What does the detuning accomplish?

.