All of the above, work is a measurement of energy transfer, in Joules.
Potential energy = Joules
Kinetic energy = Joules
The key thing here is that anything having to do with just energy or energy transfer is measured in joules.
6.0m questions
7.8m answers