One joule of work is done (or one joule of energy is transferred) when a force of one newton causes a body to move through a distance of one metre.
Work is done when a force acts on a moving body ... Work done has the same units as energy - joules. This is because energy is the ability to do work. You must have energy to do work.