Freezing shrinks parts that go inside another part and heat (think kitchen oven at 350-400 and wear gloves) expands parts that go over another part.
Personally, since I have an air compressor and an impact wrench I prefer to use it for many disassembly jobs if the parts have been together for awhile. Just saves effort and reduces the chances of rounding off the heads. Clean before reaasembly, add lube/antiseize as dictated and use hand tools to tighten. I've used the impact wrench to remove a vacuum cleaner impeller nut and a well pump impeller nut rather than try to jam/lock the motor shaft.
An impact wrench is almost cheating! I LOVE 'em.:biggrin: Sometimes if I've got a stubborn fastener I'll actually try tightening before loosening...anything to get those molecules to break loose. Heat, of course, can help sometimes and places too.:thumbsup: