Magnetic field is the magnetic effect of electric currents and magnetic materials. The magnetic field at any given point specified by both direction and a magnitude. So uniform magnetic field has equal amount of force or magnetic force in both side of the object while the non uniform magnetic field has one of the object exert more than the other