The utility model discloses an outdoor unit and a
heat pump system. The outdoor unit comprises a shell, a water tank, a hot water side
heat exchanger and a gas-liquid separator. The water tank is used for storing domestic hot water and installed in the shell. The hot water side
heat exchanger is used for preparing hot water through heat exchange between refrigerants and water in the water tank, the gas-liquid separator is used for separating gaseous refrigerants and liquid refrigerants, the hot water side
heat exchanger and the gas-liquid separator are installed in the shell and located below the water tank correspondingly, and the hot water side heat exchanger is arranged on the periphery of the gas-liquid separator in a surrounding mode. According to the utility model, the
layout optimization of the whole parts is facilitated, the
utilization rate of the parts in the vertical space can be improved, the space of the unit in the horizontal direction is reduced, and the
miniaturization design is realized. And the hot water side heat exchanger is wound on the periphery of the gas-liquid separator, so that occupation of installation space of other parts can be reduced, more space is provided for arrangement of pipelines, and the possibility of mutual interference and collision between the pipelines is reduced.