the concept of thermodynamic work is slightly more general than that of mechanical work because it includes other types of energy transfers as well. the electrical work required to move a charge against an external electrical field can be measured, as can the work required to move heat against a temperature gradient. thermodynamic work need not have any mechanical component to be considered such.