Explanation:
The second law of thermodynamics states that the total entropy of a system either increases or remains constant in any spontaneous process; it never decreases. ... Heat cannot transfer energy spontaneously from colder to hotter, because the entropy of the overall system would decrease.