Microwave ovens cook foods by injecting them with, surprise, microwaves —a form of energy. These electromagnetic waves are invisible to the human eye and fall between radio waves, which are longer in wavelength, and infrared waves, which are shorter.