Honestly, it can be either. If served as the meal's carbohydrate alongside a meat and vegetable, it is a side dish. However, when presented after the meal and covered in whipped cream or with a scoop of ice cream, it is clearly a dessert.