Percy Spencer invented the microwave working on another project with radar technology. The waves from a vacuum tube melted a candy bar in his pocket.