Scientifically tomatoes are considered a fruit. However in the world of cooking they are used as in salads and other dishes in the savory world of cooking.
i just learned the other day that the classification for the tomato was changed from vegetable to fruit. i think it has to do with the seeds. any thing with seeds is considered a fruit.