Which best describes a joule?

A) unit of temperature
B) unit of the average kinetic energy
C) unit of force
D) unit of heat