In ionic bonding, electrons are completely transferred from one atom to another. In the process of either losing or gaining negatively charged electrons, the reacting atoms form ions. The oppositely charged ions are attracted to each other by electrostatic forces, which are the basis of the ionic bond.
Entropy is a measure of the degree of the spreading and sharing of thermal energy within a system. The entropy of a substance increases with its molecular weight and complexity and with temperature. The entropy also increases as the pressure or concentration becomes smaller.
Since there is no disorder in this state, the entropy can be defined as zero. Now start introducing small amounts of heat and measuring the temperature change. Even though equation (1) only works when the temperature is constant, it is approximately correct when the temperature change is small.