Yes.
For the purposes of the culinary arts, I suppose it is a vegetable, but in botany, I’m pretty sure it’s considered a fruit. Don’t quote me on that, though; I’m not an expert. If a botanist tells you otherwise, I’d defer to their judgment.
Avengers: Endgame. Before this movie came out, my answer would be Terminator 2: Judgment Day.