Tomatoes are fruits but are used as vegetables in cooking.
Tomato is a fruit that is commonly used as a vegetable in culinary practices. In botanical terms, a fruit is the ripened ovary containing seeds, which applies to tomatoes as they have seeds within. Despite being treated as a vegetable in cooking, botanically, a tomato is classified as a fruit.
https://brainly.com/question/31268538