Work is one of the many form of energy.
Work measure the quantity of kinetic energy that a force
So the work is measured in Joule like any other energy. On the other hand, energy can be more general. For example the potential energy of a body on a tower is the energy that can be transformed in work (of the free fall) once the body is released.
I see work as energy in movement giving, as end result, a transformation of its form inside a system.
As an example I think of a certain amount of energy in a system, say
The system will be a person, a box and a cupboard;
Now, I consider our specific
This “new” energy form is now stored away into the new configuration (spatial) of our system (The box is up there!).
Finally the box can fall from the cupboard and in this other physical process energy is changed from Potential Energy into Kinetic Energy (energy is extracted from the system as work and changed).
In these two processes (lifting and falling) the extraction of energy was made through work that, in a simplistic way, could be seen as energy that exits from a configuration to change into another.
...Probably I confused you even more...