Entropy, the measure of a system's thermal energy per unit temperature that is unavailable for doing useful work.