A microwave works by emitting microwaves, which cause directly increase the heat of whatever they hit.