Work is the force applied over a given distance, in other words work is the product of force and distance. That is; Work = force × distance.
Work is measured in Joules.
Energy on the other hand, is the ability to do work.
According to the principle of work-energy a change in the kinetic energy is equivalent to the net work don e by the object. Therefore, when work is being done energy is being transferred from one point to another.