When a wire carrying an electric current is moved in a magnetic field of a magnet the magnetic field induced by the wire reacts with the magnetic field of the magnet causing the wire to move outwards. Fleming's left hand rule helps you to predict the movement.
First finger - direction of magnetic field (N-S)
SeCond finger - direction of current (positive to negative)
ThuMb - movements of the wire
When a coil of wire carrying a current is placed in a magnetic field the coil turns.
This is called the motor effect.
animation of flemings rule