FIG. 4 is a block diagram of an electronic device 401 in a network environment 400 according to an embodiment. With reference to FIG. 4, in the network environment 400, the electronic device 401 may communicate with an electronic device 402 through a first network 498 (e.g., short-range wireless communication network) or may communicate with an electronic device 404 or a server 408 through a second network 499 (e.g., long-distance wireless communication network). In one embodiment, the electronic device 401 may communicate with the electronic device 404 through the server 408. According to an embodiment, the electronic device 401 may include a processor 420, a memory 430, an input unit 450, a sound output unit 455, a display unit 460, an audio module 470, a sensor module 476, an interface 477, a haptic module 479, a camera module 480, a power management module 488, a battery 489, a communication module 490, a subscriber identification module 496, and an antenna module 497. In a certain embodiment, at least one component (e.g., display unit 460 or camera module 480) among the components of the electronic device 401 may be omitted, or other components may be added to the electronic device 401. In one embodiment, some of these components may be implemented as an integrated circuit. For example, the sensor module 476 (e.g., fingerprint sensor, iris sensor, or illuminance sensor) may be embedded in the display unit 460 (e.g., display).