to create cookies, you typically use whole eggs and their proteins for flavor, leavening, structure, and color. eggs promote puffiness and spreading in cookies, while also holding the cookie together during baking.