When a current-carrying rectangular loop is placed in a magnetic field, the forces acting on either side of the loop which is perpendicular to the field provides a torque which rotates the loop.

However, according to Newton's 3rd Law, there should be some equal and opposite force acting on the object exerting the force. But in fields, it is the field that exerts forces on objects. Does that mean that the loop exerts an equal and opposite force on the magnet or on the magnet's field? How do these forces play out and what effect do they have on the magnet?