Ube is a yam, and yams are commonly known to be growing as a tuber on perennial vines. To be a fruit, the plant must be developed by flowers and contain productive cells, which is not the case for ube, and it, therefore, makes it a vegetable.