The second law of thermodynamics states that the entropy of an isolated system never decreases, because isolated systems spontaneously evolve towards thermodynamic equilibrium - the state of maximum entropy. Equivalently, perpetual motion machines of the second kind are impossible.