In power plantss or engines, exhaust gases often contain heat that's heading uselessly away into the open air. That's a waste of energy and something a heat exchanger can certainly reduce (though not eliminate entirely—some heat is always going to be lost).