The fan you hear is to keep the microwave generator cool. It's outside the part of the microwave where the microwaves go.
Older microwaves had a fan-like metal stirrer inside the cooking box, that would continuously re-randomize where the waves went. This has been out of fashion for several decades.
Older microwaves had a fan-like metal stirrer inside the cooking box, that would continuously re-randomize where the waves went. This has been out of fashion for several decades.