Some fruits are also vegetables because they can be used in both sweet and savory dishes. For example, tomatoes can be used in salads or made into sauces.