A refrigerator comprising: a display; a camera; a processor configured to: control the camera to photograph an image of the inside of the refrigerator, identify a plurality of objects included in the image, identify food information related to each of the plurality of objects, based on a user command for a cooking recipe being received, identify ingredient information of the cooking recipe, and control the display to display first ingredient information corresponding to the food information among the ingredient information by comparing the food information and the ingredient information, control the display to display a first icon for second ingredient information that is different from the first ingredient information, based on a user command for selecting the first icon, control the display to display the second ingredient information and a second icon for a shopping list application, based on a user command for selecting the second icon, register an ingredient corresponding to the second ingredient information with the shopping list application, based on a user command for executing the shopping list application, control the display to display a shopping list of food registered with the shopping list and a third icon for purchasing the food, and based on a user command for selecting the third icon, transmit order request information including the food and delivery information to a server of a selected store and perform payment for the food based on pre-registered payment information. a display; a camera; a processor configured to: control the camera to photograph an image of the inside of the refrigerator, identify a plurality of objects included in the image, identify food information related to each of the plurality of objects, based on a user command for a cooking recipe being received, identify ingredient information of the cooking recipe, and control the display to display first ingredient information corresponding to the food information among the ingredient information by comparing the food information and the ingredient information, control the display to display a first icon for second ingredient information that is different from the first ingredient information, based on a user command for selecting the first icon, control the display to display the second ingredient information and a second icon for a shopping list application, based on a user command for selecting the second icon, register an ingredient corresponding to the second ingredient information with the shopping list application, based on a user command for executing the shopping list application, control the display to display a shopping list of food registered with the shopping list and a third icon for purchasing the food, and based on a user command for selecting the third icon, transmit order request information including the food and delivery information to a server of a selected store and perform payment for the food based on pre-registered payment information. control the camera to photograph an image of the inside of the refrigerator, identify a plurality of objects included in the image, identify food information related to each of the plurality of objects, based on a user command for a cooking recipe being received, identify ingredient information of the cooking recipe, and control the display to display first ingredient information corresponding to the food information among the ingredient information by comparing the food information and the ingredient information, control the display to display a first icon for second ingredient information that is different from the first ingredient information, based on a user command for selecting the first icon, control the display to display the second ingredient information and a second icon for a shopping list application, based on a user command for selecting the second icon, register an ingredient corresponding to the second ingredient information with the shopping list application, based on a user command for executing the shopping list application, control the display to display a shopping list of food registered with the shopping list and a third icon for purchasing the food, and based on a user command for selecting the third icon, transmit order request information including the food and delivery information to a server of a selected store and perform payment for the food based on pre-registered payment information.