Eggs help form the structure of a cake. When mixing cake batter eggs can be added in many different ways to change the flavor and texture of the cake.