There are significant differences you have to be mindful of when it comes to the two mixtures, such as the cookie being a dense mixture while the cake is much thinner. You may also need to be aware of…
For cookies, you may notice 3 parts flour, 2 parts fat, and 1 part sugar, while in cakes, it is generally 2 parts flour and liquid alike, and one part each for an egg, sugar, and fat.