If you don't do this, the tub could re-fill with cold water which is usually a long shot from the water heater to your kitchen. Will probably eventually happen to us .
There are many parts down in a boiler that go together to heat water for space heating or hot water. https://Speedgh.com/index.php?page=user&action=pub_profile&id=1669900