Another way to say "Cake is a sweet dessert" is "An example of a sweet dessert is a cake."