Microwaves are a type of oven that uses electromagnetic radiation to heat food. They were first invented in 1945 by Percy Spencer, who was working on radar technology at the time. Spencer noticed that the candy bar in his pocket had melted, and realized that microwaves could be used to cook food. The first microwave oven was released to the public in 1947.