Magnetron, diode vacuum tube consisting of a cylindrical (straight wire) cathode and a coaxial anode, between which a dc (direct current) potential creates an electric field. A magnetic field is applied longitudinally by an external magnet. Connected to a resonant line, it can act as an oscillator.