Is tomoto fruit or vegetable?

tomato is a fruit, but for culinary purposes it is a vegetable