Houses need fresh air and need to expel dirty air.
The dirty air is warm, while the outside fresh air is cold. With heat recovery ventilation, the heat is transferred into the incoming air and the exhaust air becomes cold. This warms up the air in a very efficient manner.
It can also be combined with a heat pump to extract even more heat out of the exhaust.