carrots add sweetness and moisture to a batter. carrot cakes have been around for centuries, but the modern carrot cake can be traced back to world war ii when carrots were suggested as a way to add sweetness to cakes when sugar was being rationed, according to the world carrot museum of skipton, england.