The magnetic field exerts forces on charged particles, but is incapable of doing work on them. Why?
Since the magnetic force is always perpendicular to the velocity v = ds/dt , it is always perpendicular to the displacement ds .
Thus the incremental amount of work, d W= F \cdot d s =F d s \times \cos \theta , is always zero, and so the magnetic field can do no work.