Work done is equivalent to the product of the force and the direction moved in the direction of the force.
Work done has the unit Nm or joule. It is also equivalent to energy transferred (energy is the capacity to do work).
If the force is applied at an angle to the direction at which the object moves, trigonometry is used to find the magnitude of the force in the direction of movement. This is used to calculate the work done.
The component of the force F in the direction of motion is Fcosθ, so: