An electronic device (101, 201) comprising: a camera; a display (160, 260) configured to display an augmented reality, AR, screen; and at least one processor (120, 210) functionally connected to the camera and the display (160, 260), wherein the at least one processor (120, 210) is configured to: implement an AR function, display a menu area for selecting a category of information to be provided and for selecting an information-providing radius, obtain detailed information associated with a real object, which includes various pieces of information, based on the selected category of information and the selected information-providing radius, the real object determined to be located within the selected information-providing radius from the current location of the electronic device (101, 201), determine a view direction of a user by determining an orientation of the electronic device (101, 201), determine a plurality of pieces of the detailed information lying on a straight vertical line (571, 572, 573) of the AR screen in the view direction of the user, group the plurality of pieces into at least one group when it is determined that the plurality of pieces are on the straight vertical line (571, 572, 573) of the AR screen, generate a first type window corresponding to the plurality of pieces of the detailed information and a second type window (530, 540) corresponding to a single piece of the detailed information when it is determined that there is only one piece of the detailed information, wherein the first type window is distinguished from the second type window (530, 540) by having a different form, and display the first type window and the second type window (530, 540) associated to the real object on the AR screen, wherein each of the first type window or the second type window (530, 540) is configured to be displayed at different positions on the straight vertical line (571, 572, 573) of the AR screen in view of a degree of overlapping with another first type window or another second type window (530, 540) on another straight vertical line (571, 572, 573) of the AR screen. a camera; a display (160, 260) configured to display an augmented reality, AR, screen; and at least one processor (120, 210) functionally connected to the camera and the display (160, 260), implement an AR function, display a menu area for selecting a category of information to be provided and for selecting an information-providing radius, obtain detailed information associated with a real object, which includes various pieces of information, based on the selected category of information and the selected information-providing radius, the real object determined to be located within the selected information-providing radius from the current location of the electronic device (101, 201), determine a view direction of a user by determining an orientation of the electronic device (101, 201), determine a plurality of pieces of the detailed information lying on a straight vertical line (571, 572, 573) of the AR screen in the view direction of the user, group the plurality of pieces into at least one group when it is determined that the plurality of pieces are on the straight vertical line (571, 572, 573) of the AR screen, generate a first type window corresponding to the plurality of pieces of the detailed information and a second type window (530, 540) corresponding to a single piece of the detailed information when it is determined that there is only one piece of the detailed information, wherein the first type window is distinguished from the second type window (530, 540) by having a different form, and display the first type window and the second type window (530, 540) associated to the real object on the AR screen, wherein each of the first type window or the second type window (530, 540) is configured to be displayed at different positions on the straight vertical line (571, 572, 573) of the AR screen in view of a degree of overlapping with another first type window or another second type window (530, 540) on another straight vertical line (571, 572, 573) of the AR screen.