Unlike many other cakes where you cream the butter and sugar, a carrot cake uses an oil base instead of a butter base. Using oil will help your carrot cake last longer and maintain its moisture.