The microwave region extends from 1,000 to 300,000 MHz (or 30 cm to 1 mm wavelength).
Source: https://www.britannica.com/science/electromagnetic-radiation/Microwaves
2.4Ghz, and 5Ghz are microwaves. Your typical microwave oven operates at about 2.45GHz due to resonance frequency of water. 2.4Ghz wifi is literally a typical microwave's neighbor.
The difference is sheer amount of power and shielding. Not the type of radiation.