The microwaves from the radar set he was working on were cooking the candy bar in his pocket! With a little experimentation, Spencer figured out that the microwaves could be concentrated to heat food . He created the first working microwave oven, and the first food he cooked in it was popcorn.