what is produced by the movement of electrons