Please explain what is magnetic field, how does it work?

[deleted]