Because of the low liquid content and the relatively high concentration of sugar in many cookies, sugar crystallizes on their exterior and produces a desirable crisp surface. When sugar crystallizes, it emits heat that causes the water it absorbed during mixing and baking to evaporate. Simultaneously, the gases in the leavening agents inflate, creating the crackled effect on the dry surface of the cookie as it cools.
The following section explains which of these functions apply to specific types of baked product.