what is the difference between the functions of the ingredients in a cake vs. a cookie?
Cakes contain larger amounts of liquids (water and milk, for instance) than cookies. Liquid binds ingredients together and serves to make the batter as thin as possible, which allows bubbles – responsible for a cake's fluffiness – to form more easily.