While the two cakes have a similar spice profile and a cream cheese frosting, they are not the same. Carrot cake has shredded carrots and nuts inside the cake batter.