The second law of thermodynamics relates to entropy and defines the direction in which processes occur.