Frosting is the thickest of these confections and is ideal for spreading or piping on cakes, cupcakes and cookies. Icing is a little thinner than frosting and is often poured or piped over coffee cakes, pound cakes, doughnuts and cookies—and it usually hardens when it dries.