Both! While they have a mostly cake-like texture, they are also small and dense enough to qualify as a cookie making them a perfect hybrid.