A refrigerator comprising: a storage chamber; a camera provided in the storage chamber; a touch detection display; a communicator configured to communicate with an external device, the external device including at least one of a server, a client, a workstation, a personal computer, a cloud, a data drive, and a data station; and a controller configured to control the camera to capture an image of the inside of the storage chamber, display the captured image of the storage chamber on the touch detection display, control the communicator to transmit the captured image to the external device, receive, from the external device through the communicator, identification information of foods identified based on a plurality of sample images, which are extracted from the captured image, and image coordinate information of the plurality of sample images inside the captured image, each of the plurality of sample images be extracted with an arbitrary size at an arbitrary position to identify foods included in each of the plurality of sample images, receive a user's touch input on the touch detection display, based on comparing location information of the user's touch input with the image coordinate information of the plurality of sample images, select a sample image corresponding to the user's touch input, and display identification information of a food identified based on the selected sample image on the touch detection display, the identification information of the food including a name of the food. a storage chamber; a camera provided in the storage chamber; a touch detection display; a communicator configured to communicate with an external device, the external device including at least one of a server, a client, a workstation, a personal computer, a cloud, a data drive, and a data station; and a controller configured to control the camera to capture an image of the inside of the storage chamber, display the captured image of the storage chamber on the touch detection display, control the communicator to transmit the captured image to the external device, receive, from the external device through the communicator, identification information of foods identified based on a plurality of sample images, which are extracted from the captured image, and image coordinate information of the plurality of sample images inside the captured image, each of the plurality of sample images be extracted with an arbitrary size at an arbitrary position to identify foods included in each of the plurality of sample images, receive a user's touch input on the touch detection display, based on comparing location information of the user's touch input with the image coordinate information of the plurality of sample images, select a sample image corresponding to the user's touch input, and display identification information of a food identified based on the selected sample image on the touch detection display, the identification information of the food including a name of the food. control the camera to capture an image of the inside of the storage chamber, display the captured image of the storage chamber on the touch detection display, control the communicator to transmit the captured image to the external device, receive, from the external device through the communicator, identification information of foods identified based on a plurality of sample images, which are extracted from the captured image, and image coordinate information of the plurality of sample images inside the captured image, each of the plurality of sample images be extracted with an arbitrary size at an arbitrary position to identify foods included in each of the plurality of sample images, receive a user's touch input on the touch detection display, based on comparing location information of the user's touch input with the image coordinate information of the plurality of sample images, select a sample image corresponding to the user's touch input, and display identification information of a food identified based on the selected sample image on the touch detection display, the identification information of the food including a name of the food.