Minecraft wiki entry for Hunger_management, associated text: Advantages:
Cake can be used repeatedly and can be shared by several players as a feast item.
Can be used as a decoration block.
Cake can be eaten instantly without any eating animation and without switching the currently selected item.
Cake restores a lot of hunger when eaten as a whole.