An outdoor unit is called a condenser. This primarily collects the heat from the air which boils the gas within the unit. This heated gas, in turn, heats the water that is heating your house as well as the water for your showers.