A refrigerator comprising: a storage chamber configured to store food; a first tray configured to define one portion of an ice making cell that is a space in which water is phase-changed into ice by cold air; a second tray configured to define the other portion of the ice making cell; a heater (290, 430) disposed adjacent to at least one of the first tray or the second tray, wherein the heater (290, 430) comprises an ice separation heater configured to supply heat to the at least one of the first tray or the second tray in an ice separation process; a controller configured to control the heater (290, 430), wherein the controller controls: the second tray to move to an ice making position after water supply to the ice making cell is completed so that a cold air supply part supplies the cold air to the ice making cell; the second tray to move to an ice separation position in a forward direction so as to take the ice out of the ice making cell after generation of the ice in the ice making cell is completed; and the second tray to move from the ice separation position to a water supply position in a reverse direction after a separation of the ice is completed, characterized in that the refrigerator comprises: a temperature sensor configured to detect a temperature of the water or of the ice of the ice making cell, wherein the temperature sensor is in contact with the at least one of the first tray or the second tray and wherein the temperature sensor is disposed to be spaced apart from the ice separation heater; wherein a distance from the temperature sensor to a contact surface between the first tray and the second tray is less than a distance from the ice separation heater to the contact surface between the first tray and the second tray; and wherein the heater (290, 430) also comprises a transparent ice heater that is turned on in at least partial section while the cold air supply part supplies the cold air so that bubbles dissolved in the water within the ice making cell move from a portion, at which the ice is generated, toward the water that is in a liquid state to generate transparent ice. a storage chamber configured to store food; a first tray configured to define one portion of an ice making cell that is a space in which water is phase-changed into ice by cold air; a second tray configured to define the other portion of the ice making cell; a heater (290, 430) disposed adjacent to at least one of the first tray or the second tray, wherein the heater (290, 430) comprises an ice separation heater configured to supply heat to the at least one of the first tray or the second tray in an ice separation process; a controller configured to control the heater (290, 430), wherein the controller controls: the second tray to move to an ice making position after water supply to the ice making cell is completed so that a cold air supply part supplies the cold air to the ice making cell; the second tray to move to an ice separation position in a forward direction so as to take the ice out of the ice making cell after generation of the ice in the ice making cell is completed; and the second tray to move from the ice separation position to a water supply position in a reverse direction after a separation of the ice is completed, the second tray to move to an ice making position after water supply to the ice making cell is completed so that a cold air supply part supplies the cold air to the ice making cell; the second tray to move to an ice separation position in a forward direction so as to take the ice out of the ice making cell after generation of the ice in the ice making cell is completed; and the second tray to move from the ice separation position to a water supply position in a reverse direction after a separation of the ice is completed, a temperature sensor configured to detect a temperature of the water or of the ice of the ice making cell, wherein the temperature sensor is in contact with the at least one of the first tray or the second tray and wherein the temperature sensor is disposed to be spaced apart from the ice separation heater; wherein a distance from the temperature sensor to a contact surface between the first tray and the second tray is less than a distance from the ice separation heater to the contact surface between the first tray and the second tray; and wherein the heater (290, 430) also comprises a transparent ice heater that is turned on in at least partial section while the cold air supply part supplies the cold air so that bubbles dissolved in the water within the ice making cell move from a portion, at which the ice is generated, toward the water that is in a liquid state to generate transparent ice.