Apparently, DC current comes in, and microwaves come out.
TODO: sample power efficienty of this conversion and output spectrum of this conversion on some cheap device we can buy today.
Video 1. Magnetron, How does it work? by Lesics (2020) Source.