A device that produces the electric field accelerating the particles inside accelerators. As the electric field oscillates at radio frequency, accelerating cavities are also referred to as radio-frequency cavities.