Eggs serve several purposes in baking, including adding structure, firmness, color, flavor and even leavening.