A tomato is both a fruit and a vegetable.You mean the fruit that identifies as being a vegetable?
Technically, from a botanical standpoint, edible fruits are vegetables because a vegetable is any edible part of a plant. However, in common parlance people usually distinguish between fruits and vegetables.