Chilling the dough and then freezing it helps to maintain the shape of the cookie. It also helps for the dough to be firm/chilled when you're cutting out your shapes.