The cavity magnetron, or not entirely accurately reduced simply to magnetron, is a high-powered vacuum tube that generates microwaves using the interaction of a stream of electrons with a magnetic field while moving past a series of open metal cavities (cavity resonators). Electrons pass by the openings to these cavities and cause microwaves to oscillate within, similar to the way a whistle produces a tone when excited by an air stream blown past its opening. The frequency of the microwaves produced, the resonant frequency, is determined by the cavities' physical dimensions. Unlike other vacuum tubes, such as a klystron or a traveling-wave tube (TWT), the magnetron cannot function as an amplifier in order to increase the intensity of an applied microwave signal; the magnetron serves solely as an oscillator, generating a microwave signal from direct current electricity supplied to the vacuum tube.