Moving charges and current carrying conductors create magnetic fields. Also magnets themselves have magnetic fields. When you keep two magnets close together a force is exerted between them which is a magnetic force. Iron filings placed around a magnet move because a magnetic force acts on them.
definition
Lorentz force
The total force on a charge q moving with velocity v in the presence of magnetic and electric fields B and E, respectively is called the Lorentz force. It is given by the expression: F=q(v×B+E) The magnetic force q(v×B) is normal to v and work done by it is zero.
example
Net force on a moving electric charge
F=q[E+v×B]
An electron passes undeflected through perpendicular electric and magnetic fields of intensity 3.4×103V/m and 2×10−3Wb/m2 respectively. Then its velocity is given by: For undeflected path F=q(V×B+E)=0 or VB=∣E∣