If force is applied to a spanner,as in the above pictures,the turning effect applied to the nut depends on the distance between the pivot and the point,where the force is applied.The longer the distance of the applied force to the pivot,the higher is the turning effect of the nut.
The product of the applied force and the distance from the pivot is called the moment of force or torque.