are both energy and work measured in joules?
The amount of work done is equal to the energy used and both are measured in JOULES (J). It takes energy to lift a weight a certain distance, because you have to do work against the force of gravity.