A coconut is not a vegetable but a drupe. It is a seed, a nut, and a fruit all at once.