The Nature of Thermodynamics