The experiment emphasizes the thermal effect of the electric current flowing through a pencil lead.
Please see at first the smoke and then the change of the lead colour.
The second video show you how to biuld a light bulb using the same effect.