The study of the interactions between atoms and light in a cavity. The quantum-mechanical nature of photons of light is particularly important in cavity QED. It is possible to demonstrate the existence of the vacuum state in QED by observing the difference between the rate of spontaneous emission in cavity QED and in free atoms and photons. Cavity QED is also used to investigate decoherence in quantum mechanics.