An electronic device for augmented reality comprising: a display ; a camera module ; and at least one processor , wherein the at least one processor is configured to: display objects through the display , wherein the objects include one or more real objects and one or more virtual objects; receive a first input for picking any one object from the objects, and then receive a second input for associating the picked object with a specific region; receive a third input for grouping the objects picked by repeating the first input and the second input, wherein the grouped objects include a real object and a virtual object, wherein the third input is received corresponding to a motion of changing a palm of one hand of a user from a spread-out state and cupping the palm or grabbing a fist of the one hand of the user; in response to the third input, analyze information of the grouped objects and extract information about the grouped objects, wherein the extracted information includes at least inferred information; and in response to a fourth input related to the grouped objects being received, execute a function which is corresponding to the extracted information about the grouped objects, wherein the fourth input includes a confirming command by a voice, and wherein the specific region is displayed in a form of a tray around the palm. a display ; a camera module ; and at least one processor , wherein the at least one processor is configured to: display objects through the display , wherein the objects include one or more real objects and one or more virtual objects; receive a first input for picking any one object from the objects, and then receive a second input for associating the picked object with a specific region; receive a third input for grouping the objects picked by repeating the first input and the second input, wherein the grouped objects include a real object and a virtual object, wherein the third input is received corresponding to a motion of changing a palm of one hand of a user from a spread-out state and cupping the palm or grabbing a fist of the one hand of the user; in response to the third input, analyze information of the grouped objects and extract information about the grouped objects, wherein the extracted information includes at least inferred information; and in response to a fourth input related to the grouped objects being received, execute a function which is corresponding to the extracted information about the grouped objects, wherein the fourth input includes a confirming command by a voice, and wherein the specific region is displayed in a form of a tray around the palm. display objects through the display , wherein the objects include one or more real objects and one or more virtual objects; receive a first input for picking any one object from the objects, and then receive a second input for associating the picked object with a specific region; receive a third input for grouping the objects picked by repeating the first input and the second input, wherein the grouped objects include a real object and a virtual object, wherein the third input is received corresponding to a motion of changing a palm of one hand of a user from a spread-out state and cupping the palm or grabbing a fist of the one hand of the user; in response to the third input, analyze information of the grouped objects and extract information about the grouped objects, wherein the extracted information includes at least inferred information; and in response to a fourth input related to the grouped objects being received, execute a function which is corresponding to the extracted information about the grouped objects, wherein the fourth input includes a confirming command by a voice, and wherein the specific region is displayed in a form of a tray around the palm. <EOS>