To keep cookies from crumbling.
Let your cookie rest on the sheet pan for 20 – 30 seconds before moving them to a cooling rack. Leaving them sit for that brief time allows the heat to escape and helps prevent your cookies from crumbling.