Exergy is a measure of the maximum useful work possible during a process that brings the system into equilibrium with a heat reservoir. It quantifies the quality of energy, indicating how much of it can be converted into work, unlike energy which is conserved regardless of quality.