In electromagnetics a cavity resonator is a resonator composed of a space that is usually surrounded by a dielectric or metal which allows standing wave patterns at particular frequencies, eigenmodes, correlated to their size, shape, and material.