I think you don't have a hotwater heater but only a hot water tank... your gas furnace (or boiler?)... the boiler is use for 2 purpose... 1 for comfort heating... 2 for domestic water...