The second law of thermodynamics establishes the sense of spontaneous physical processes. It introduces a new magnitude called entropy that tends to increase its value in any irreversible thermodynamic process that takes place in an isolated system.