The ones I designed in my head, that it turns out exist in the real world, exchange heat from the drain water to warm the cold water flowing to the shower, reducing the usage of hot water (https://zypho.uk/ for example - turns your 10 deg C cold flow to 20 C from the 40C waste flow)
In winter one would like the hot humid air from the bathroom to be heat exchanged and heat dumped back into the property. In summer perhaps feed the input airflow for a water heat pump and again dump out the humid air.
Either way, we leave a lot of efficieny the table.