The entropy of a substance increases with increase in temperature as with increase in temperature, randomness of a substance increases. Similarly with decrease in temperature, orderliness of substance is decreases and so the entropy of substance decreases.
Solid compounds are having regular arrangement of molecules as compare to liquid and gas. So, the entropy is the minimum in solid as compare to liquid and gas.
According to third law of thermodynamics, the value of entropy of a perfectly pure crystalline substance at absolute zero temperature is zero. This means that the arrangement of molecules in a perfectly pure crystalline substance is completely in order.
The entropies of the liquid substance are higher than those of solid substance and lower than those of gaseous substance.