There are different kinds of energy, with formally different units, e.g., mechanical and gravitational potential energy are typically measured in terms of joules (a force times a distance, or equivalently a mass times a squared velocity), whereas heat energy is measured in calories (the amount of heat required to raise the temperature of 1 gram of water by one degree C).
(the amount of heat; required; to raise the temperature of 1 gram of water by one degree C) (a force; times; a distance) (heat energy; is measured; in calories)
the amount of heat a force heat energy
required times is measured
to raise the temperature of 1 gram of water by one degree C
a distance
in calories