In a microwave there are a lot of different components that make it work, one component that makes microwaves unique the magnetron which was how microwaves were first invented, and the magnetron produces the electromagnetic waves so that they are able to cook food. The waves are used to control where the electromagnetic waves go inside the cooking chamber. Once the power is turned on "A capacitor is used to smooth out the current before it reaches the magnetron. (1)"