Referring to FIG. 9, an electronic device 901 may communicate with an electronic device 902 through a first network 998 (e.g., a short-range wireless communication) or may communicate with an electronic device 904 or a server 908 through a second network 999 (e.g., a long-distance wireless communication) in a network environment 900. According to an embodiment, the electronic device 901 may communicate with the electronic device 904 through the server 908. According to an embodiment, the electronic device 901 may include a processor 920, a memory 930, an input device 950, a sound output device 955, a display device 960, an audio module 970, a sensor module 976, an interface 977, a haptic module 979, a camera module 980, a power management module 988, a battery 989, a communication module 990, a subscriber identification module 996, and an antenna module 997. According to some embodiments, at least one (e.g., the display device 960 or the camera module 980) among components of the electronic device 901 may be omitted or other components may be added to the electronic device 901. According to some embodiments, some components may be integrated and implemented as in the case of the sensor module 976 (e.g., a fingerprint sensor, an iris sensor, or an illuminance sensor) embedded in the display device 960 (e.g., a display).