A refrigerator comprising: a cabinet in which a storage space is formed; a door configured to open and close the storage space and having a dispenser and an ice maker, a main water tank formed of a metallic material and installed at an inside of the storage space; a water purifying device provided at the cabinet and configured to purify supplied water; and a water supply path which connects the water purifying device, the main water tank, a first branch valve, a second branch valve, the ice maker and the dispenser and guides a flow of cold water and purified water, wherein the main water tank comprises: a tank body which is formed by rolling a plate-shape material in the form of a cylinder to form a space in which the water is accommodated, a water outlet pipe connected to the tank body, a pair of tank caps each of which is formed in a hemispheric shape, a water inlet pipe connected to one of the pair of tank caps, wherein the pair of tank caps are processed by curling so as to shield openings of both sides of the tank body, and thus each of the tank caps and an end of an inner surface of the tank body are bonded to each other, characterized in that silicone is interposed between an end of the tank body and an end of each of the tank caps, and seals between the tank body and each of the tank caps, and thus maintains a sealed state even when the curling is performed, wherein a portion of each of the tank caps is inserted in the tank body, and a portion of the silicone is interposed between an outer circumference of the portion of each of the tank caps and an inner circumference of the tank body. a cabinet in which a storage space is formed; a door configured to open and close the storage space and having a dispenser and an ice maker, a main water tank formed of a metallic material and installed at an inside of the storage space; a water purifying device provided at the cabinet and configured to purify supplied water; and a water supply path which connects the water purifying device, the main water tank, a first branch valve, a second branch valve, the ice maker and the dispenser and guides a flow of cold water and purified water, wherein the main water tank comprises: a tank body which is formed by rolling a plate-shape material in the form of a cylinder to form a space in which the water is accommodated, a water outlet pipe connected to the tank body, a pair of tank caps each of which is formed in a hemispheric shape, a water inlet pipe connected to one of the pair of tank caps, wherein the pair of tank caps are processed by curling so as to shield openings of both sides of the tank body, and thus each of the tank caps and an end of an inner surface of the tank body are bonded to each other, characterized in that silicone is interposed between an end of the tank body and an end of each of the tank caps, and seals between the tank body and each of the tank caps, and thus maintains a sealed state even when the curling is performed, wherein a portion of each of the tank caps is inserted in the tank body, and a portion of the silicone is interposed between an outer circumference of the portion of each of the tank caps and an inner circumference of the tank body. a tank body which is formed by rolling a plate-shape material in the form of a cylinder to form a space in which the water is accommodated, a water outlet pipe connected to the tank body, a pair of tank caps each of which is formed in a hemispheric shape, a water inlet pipe connected to one of the pair of tank caps, wherein the pair of tank caps are processed by curling so as to shield openings of both sides of the tank body, and thus each of the tank caps and an end of an inner surface of the tank body are bonded to each other, characterized in that silicone is interposed between an end of the tank body and an end of each of the tank caps, and seals between the tank body and each of the tank caps, and thus maintains a sealed state even when the curling is performed, wherein a portion of each of the tank caps is inserted in the tank body, and a portion of the silicone is interposed between an outer circumference of the portion of each of the tank caps and an inner circumference of the tank body.