Entropy (S) quantifies disorder or randomness in a system. The second law of thermodynamics states that the entropy of an isolated system always increases (ΔS_universe > 0 for spontaneous processes). Entropy increases with temperature, with phase transitions to more disordered states, and with increased number of particles or particle freedom. Entropy is a state function.
You have encountered enthalpy (ΔH) as a measure of heat flow in reactions, and you may have noticed a puzzle: some spontaneous processes are endothermic. Ice melts at room temperature even though it absorbs heat. Gases expand into a vacuum with no energy change at all. Enthalpy alone cannot explain why these processes happen. Entropy (S) is the missing piece — it measures how many different microscopic arrangements (microstates) are consistent with the macroscopic state of a system. More microstates means higher entropy.
The most intuitive way to think about entropy is in terms of dispersal — of energy, of particles, or of both. When ice melts, water molecules go from a rigid crystal lattice (few arrangements) to a liquid where they can move and rotate freely (vastly more arrangements). The entropy of the water increases. When a gas expands into a larger volume, each molecule has more positions available to it, so the number of microstates explodes. No energy was added or removed — the system simply accessed more arrangements. Nature favors these transitions because there are overwhelmingly more disordered states than ordered ones, just as there are overwhelmingly more ways to scatter cards across a floor than to stack them in a neat pile.
The second law of thermodynamics formalizes this tendency: for any spontaneous process, the total entropy of the universe (system plus surroundings) increases. A process can decrease the entropy of the system — a freezer makes ice, after all — but only if the surroundings gain even more entropy to compensate. This is why exothermic reactions at low temperature tend to be spontaneous: the heat they release disperses into the surroundings, increasing the surroundings' entropy enough to offset any entropy decrease in the system. At high temperatures, entropy changes in the system dominate, which is why endothermic processes like evaporation become favorable as temperature rises.
Several reliable rules help you predict the sign of ΔS for a reaction. Entropy increases when solids become liquids, liquids become gases, or a solid dissolves in a solvent — each transition increases molecular freedom. Reactions that produce more moles of gas than they consume have positive ΔS because gases have far more microstates than solids or liquids. Heating any substance increases its entropy because higher temperature means faster molecular motion and more accessible energy levels. These heuristics, combined with the Gibbs free energy equation (ΔG = ΔH − TΔS) that you will study next, allow you to predict whether a reaction is spontaneous at any given temperature.