Why is syrup added to a cake before frosting?
Brushing a cake with simple syrup before frosting is done to prevent the cake from drying out too quickly, and sometimes to add flavour (if a flavoured syrup is used instead of just water+sugar).