The invention relates to a heat exchanger for a heating system or a heat supply system in the form of a tubular heat exchanger having a closed container, wherein the interior chamber is filled with a first medium that supplies thermal energy and a second medium that discharges thermal energy is located in the tubing thereof. The invention further relates to the configuration of such a heat exchanger having a small size, high efficiency, and high specific capacity.