how is electrons and magnetic field related?
Electron is a charged particle and experiences a force given by:
F = e( v X B)
how magnetic field is generated around an electron?