Another way to say "baking a cake is for dessert." is "you can bake a cake to get dessert"