What is a magnetic field
a region around a magnetic material or a moving electric charge within which the force of magnetism acts.
A magnetic field is an environment where objects of a specific metal are pulled closer into the mini-atmosphere, the same as gravity pulls us closer to the ground. Good luck with your studies, I hope this helps~!