A magnetic field is a region around a magnet where the magnetic force is exerted. It is also produced by moving electric charges and the magnetic moments of elementary particles associated with a fundamental quantum property, their spin. The magnetic field is a vector field, which means it has both magnitude and direction. The strength of a magnetic field is measured in units of tesla (T) or gauss (G).
Magnetic Field Lines:Magnetic field lines show the direction of the magnetic field at any point in space. They flow from the north pole to the south pole outside the magnet and from the south pole to the north pole inside the magnet.
Magnetic Field Strength: The strength of the magnetic field is greater near the poles of the magnet and decreases as you move away from the magnet.
Magnetic Field Interaction:Magnetic fields exert forces on other magnets, as well as on moving charges and current-carrying wires.