Firstly, a heat exchanger heats the water. Then it moves energy from the gas jets to the water. Once the water is heated, it is moved to the hot water cylinder where it will be stored. Even when you are using multiple taps and showers, a constant supply of hot water is always available.