A reversible process is one in which this sort of dissipation does not happen.