Law of thermodynamics