A method and an electronic device are provided herein. The electronic device includes a processor. The processor may execute the method, including detecting, by a sensor, heart rate information while providing a content of the electronic device, determining, by a processor, an emotional quotient based on the detected heart rate information, and mapping the determined emotional quotient to the provided content.