We have started to watch what we eat trying to follow a healthy balanced diet I enjoy tomatoes and have heard many times that they are classified as a fruit, but also a vegetable. Considering the recommended balance is 5 serves of veg and 2 serves of fruit, where does the tomato fit in that?

Note, this question is specific about what category a tomato sits in from a dietary perspective. The answer given in https://medicalsciences.stackexchange.com/questions/1631/what-foods-count-towards-5-a-day is a very general of a link that does not even contain the word tomato.