Energy Is A Path Function In Thermodynamics