Anyone who has carved a pumpkin knows it has a big mess of seeds. So, it's a fruit. But after further checking with someone who cooks, I found. The distinction between fruit and vegetable goes beyond our taste buds and often pumpkins, cucumbers and squash are all fruits because they have seeds. . without having to plant is a fruit. passion fruit is a good example of something. These are the weird fruit facts you probably didn't know. . and tax collector, who contested whether the tomato was a fruit or vegetable.