An electronic cigarette and a wearable electronic device which can function together or separately are disclosed. The electronic cigarette includes a communication interface, a controller, a heat generator, and a power supply. The wearable electronic device includes a sensor, a controller, and a communication interface. The electronic cigarette and the wearable electronic device can cooperatively work. Data can be exchanged between the electronic cigarette and the wearable electronic device and each can process the received data, thereby controlling the electronic cigarette to operate in certain manners. The electronic cigarette can function with greater intelligence and with more diversity.