Muhammad I. answered 05/18/21
Online SCience Biology Microbiology and medical teacher.
The second law states that there exists a useful state variable called entropy. The change in entropy (delta S) is equal to the heat transfer (delta Q) divided by the temperature (T). For a given physical process, the entropy of the system and the environment will remain a constant if the process can be reversed.
As it happens, enthalpy and entropy changes in a reaction are partly related to each other. ... In an exothermic reaction, the external entropy (entropy of the surroundings) increases. In an endothermic reaction, the external entropy (entropy of the surroundings) decreases.