Vaping Is Less Dangerous Than Smoking, But It Is Not Safe. In e-cigarettes, nicotine (extracted from tobacco) and other compounds are heated to generate an aerosol that you inhale. About 7,000 compounds are found in cigarettes, most of which are harmful.