An electronic device comprising: a housing having a hole (403, 421, 612, 712, 812) formed therein; a microphone provided inside the housing and arranged to communicate with an outside of the electronic device through the hole (403, 421, 612, 712, 812); a gas sensor (630, 730, 830) provided inside the housing and arranged to communicate with the outside through the hole (403, 421, 612, 712, 812); a proximity sensor provided inside the housing; a wireless communication module provided inside the housing; and a processor (121, 123) provided inside the housing and electrically connected to the microphone, the gas sensor (630, 730, 830), the proximity sensor, and the wireless communication module, wherein the processor (121, 123) is configured to: recognize a user gesture of starting a proximity call based on at least data acquired from the proximity sensor when the electronic device is in communication with an external device via the wireless communication module, wherein during the proximity call the user talks into the electronic device while placing their ear in contact with or close to the electronic device and the user gesture of starting the proximity call indicates that the user has moved the electronic device closer to the user's face, and measure a user's health status based on at least data acquired by the gas sensor (630, 730, 830) after the user gesture of starting the proximity call is recognized. a housing having a hole (403, 421, 612, 712, 812) formed therein; a microphone provided inside the housing and arranged to communicate with an outside of the electronic device through the hole (403, 421, 612, 712, 812); a gas sensor (630, 730, 830) provided inside the housing and arranged to communicate with the outside through the hole (403, 421, 612, 712, 812); a proximity sensor provided inside the housing; a wireless communication module provided inside the housing; and a processor (121, 123) provided inside the housing and electrically connected to the microphone, the gas sensor (630, 730, 830), the proximity sensor, and the wireless communication module, wherein the processor (121, 123) is configured to: recognize a user gesture of starting a proximity call based on at least data acquired from the proximity sensor when the electronic device is in communication with an external device via the wireless communication module, wherein during the proximity call the user talks into the electronic device while placing their ear in contact with or close to the electronic device and the user gesture of starting the proximity call indicates that the user has moved the electronic device closer to the user's face, and measure a user's health status based on at least data acquired by the gas sensor (630, 730, 830) after the user gesture of starting the proximity call is recognized. recognize a user gesture of starting a proximity call based on at least data acquired from the proximity sensor when the electronic device is in communication with an external device via the wireless communication module, wherein during the proximity call the user talks into the electronic device while placing their ear in contact with or close to the electronic device and the user gesture of starting the proximity call indicates that the user has moved the electronic device closer to the user's face, and measure a user's health status based on at least data acquired by the gas sensor (630, 730, 830) after the user gesture of starting the proximity call is recognized.