An electronic cigarette (100, 200, 300, 400, 500, 600), characterized by comprising: a cigarette body (110, 210, 310, 410), wherein the cigarette body (110, 210, 310, 410) comprises a cylinder (111, 211, 311, 411, 510, 610), the cylinder (111, 211, 311, 411, 510, 610) has an accommodating cavity (111a, 211a, 311a, 411a, 510a, 610a), the cigarette body (110, 210, 310, 410) is further provided with an air inlet passage (111b, 214, 313, 411b, 530, 620), the air inlet passage (111b, 214, 313, 411b, 530, 620) has an air inlet (111c, 214a, 314, 411c), and the air inlet passage (111b, 214, 313, 411b, 530, 620) is in communication with the accommodating cavity 111a, 211a, 311a, 411a, 510a, 610a) to form an airflow passage; a temperature sensing element (120, 220, 320, 420, 540, 630), wherein the temperature sensing element (120, 220, 320, 420, 540, 630) comprises a temperature sensing end (121, 221, 321, 421, 541, 631), the temperature sensing end (121, 221, 321, 421, 541, 631) is disposed within the airflow passage, when an inhaling action is generated, outside air enters the air inlet passage (111b, 214, 313, 411b, 530, 620) from the air inlet (111c, 214a, 314, 411c) and flows into the accommodating cavity (111a, 211a, 311a, 411a, 510a, 610a), an airflow flowing within the airflow passage is formed, the temperature sensing end (121, 221, 321, 421, 541, 631) of the temperature sensing element (120, 220, 320, 420, 540, 630) is configured to detect a temperature of the airflow when inhaling is performed and when inhaling is not performed to learn of change of the temperature and obtain the number of times of inhaling according to the change of the temperature; and a circuit board (130, 230, 330, 430, 550, 640), wherein the circuit board (130, 230, 330, 430, 550, 640) is electrically connected to the temperature sensing element (120, 220, 320, 420, 540, 630), and the circuit board (130, 230, 330, 430, 550, 640) is electrically connected to the cigarette body (110, 210, 310, 410); the circuit board (130, 230, 330, 430, 550, 640) receiving the temperature difference generated between the first temperature value and the second temperature value that are detected by the temperature sensing element (120, 220, 320, 420, 540, 630) and converting the temperature difference into an inductive signal, and detecting the inductive signal to obtain the number of times of inhaling. a cigarette body (110, 210, 310, 410), wherein the cigarette body (110, 210, 310, 410) comprises a cylinder (111, 211, 311, 411, 510, 610), the cylinder (111, 211, 311, 411, 510, 610) has an accommodating cavity (111a, 211a, 311a, 411a, 510a, 610a), the cigarette body (110, 210, 310, 410) is further provided with an air inlet passage (111b, 214, 313, 411b, 530, 620), the air inlet passage (111b, 214, 313, 411b, 530, 620) has an air inlet (111c, 214a, 314, 411c), and the air inlet passage (111b, 214, 313, 411b, 530, 620) is in communication with the accommodating cavity 111a, 211a, 311a, 411a, 510a, 610a) to form an airflow passage; a temperature sensing element (120, 220, 320, 420, 540, 630), wherein the temperature sensing element (120, 220, 320, 420, 540, 630) comprises a temperature sensing end (121, 221, 321, 421, 541, 631), the temperature sensing end (121, 221, 321, 421, 541, 631) is disposed within the airflow passage, when an inhaling action is generated, outside air enters the air inlet passage (111b, 214, 313, 411b, 530, 620) from the air inlet (111c, 214a, 314, 411c) and flows into the accommodating cavity (111a, 211a, 311a, 411a, 510a, 610a), an airflow flowing within the airflow passage is formed, the temperature sensing end (121, 221, 321, 421, 541, 631) of the temperature sensing element (120, 220, 320, 420, 540, 630) is configured to detect a temperature of the airflow when inhaling is performed and when inhaling is not performed to learn of change of the temperature and obtain the number of times of inhaling according to the change of the temperature; and a circuit board (130, 230, 330, 430, 550, 640), wherein the circuit board (130, 230, 330, 430, 550, 640) is electrically connected to the temperature sensing element (120, 220, 320, 420, 540, 630), and the circuit board (130, 230, 330, 430, 550, 640) is electrically connected to the cigarette body (110, 210, 310, 410); the circuit board (130, 230, 330, 430, 550, 640) receiving the temperature difference generated between the first temperature value and the second temperature value that are detected by the temperature sensing element (120, 220, 320, 420, 540, 630) and converting the temperature difference into an inductive signal, and detecting the inductive signal to obtain the number of times of inhaling.