The second law of thermodynamics