The electricity powers the heating element below the wood chip tray, and that causes it to burn and produce smoke.