A refrigerator comprising: a body; a plurality of storage compartments formed inside the body, and including a first storage compartment and a second storage compartment; a first refrigerating unit adapted to cool the first storage compartment, and having a first compressor and a first evaporator; a second refrigerating unit adapted to cool the second storage compartment, and having a second compressor and a second evaporator; and a heat exchanger adapted to individually condense a first refrigerant of the first refrigerating unit and a second refrigerant of the second refrigerating unit, wherein the heat exchanger comprises: a first header having an outer wall that constitutes an internal space and an opening formed in the outer wall: a second header having an outer wall that constitutes an internal space and an opening formed in the outer wall; a tube having one end inserted into the internal space of the first header through the opening of the first header and the other end inserted into the internal space of the second header through the opening of the second header so as to communicate the internal space of the first header with the internal space of the second header; heat-exchanging fins that contact the tube; and a baffle disposed in the internal space of the first header so as to partition off the internal space of the first header or disposed in the internal space of the second header so as to partition off the internal space of the second header, the baffle having a stopper formed in the baffle and having a groove so as to accommodate portions of the tube, wherein the tube comprises a plurality of channels each having a predetermined width and a predetermined height, and the plurality of channels are spaced apart from each other by a predetermined gap, characterized in that the baffle blocks at least one of the plurality of channels, wherein the baffle has a width that corresponds to or is larger than a width of each channel. a body; a plurality of storage compartments formed inside the body, and including a first storage compartment and a second storage compartment; a first refrigerating unit adapted to cool the first storage compartment, and having a first compressor and a first evaporator; a second refrigerating unit adapted to cool the second storage compartment, and having a second compressor and a second evaporator; and a heat exchanger adapted to individually condense a first refrigerant of the first refrigerating unit and a second refrigerant of the second refrigerating unit, wherein the heat exchanger comprises: a first header having an outer wall that constitutes an internal space and an opening formed in the outer wall: a second header having an outer wall that constitutes an internal space and an opening formed in the outer wall; a tube having one end inserted into the internal space of the first header through the opening of the first header and the other end inserted into the internal space of the second header through the opening of the second header so as to communicate the internal space of the first header with the internal space of the second header; heat-exchanging fins that contact the tube; and a baffle disposed in the internal space of the first header so as to partition off the internal space of the first header or disposed in the internal space of the second header so as to partition off the internal space of the second header, the baffle having a stopper formed in the baffle and having a groove so as to accommodate portions of the tube, a first header having an outer wall that constitutes an internal space and an opening formed in the outer wall: a second header having an outer wall that constitutes an internal space and an opening formed in the outer wall; a tube having one end inserted into the internal space of the first header through the opening of the first header and the other end inserted into the internal space of the second header through the opening of the second header so as to communicate the internal space of the first header with the internal space of the second header; heat-exchanging fins that contact the tube; and a baffle disposed in the internal space of the first header so as to partition off the internal space of the first header or disposed in the internal space of the second header so as to partition off the internal space of the second header, the baffle having a stopper formed in the baffle and having a groove so as to accommodate portions of the tube, wherein the tube comprises a plurality of channels each having a predetermined width and a predetermined height, and the plurality of channels are spaced apart from each other by a predetermined gap, characterized in that the baffle blocks at least one of the plurality of channels, wherein the baffle has a width that corresponds to or is larger than a width of each channel.