Carrot cake gets a much worse rap than it deserves.
Regular kids birthday party cake is usually a bland dry sponge made from not much besides flour and sugar with frosting made from nothing at all except sugar.
Carrot cake has a much better texture, usually a lot of extra flavour, and most often has a cream frosting. And, of course, there’s still a ton of sugar these days.
I’ve always though the texture and taste of carrots was well-suited to desserts, especially when chopped or shredded finely. As a student, I used to make a dish called “chocolate mulch” in the cafeteria from shredded carrots and chocolate pudding.