According to watermelon.org, like the pepper, tomato, and pumpkin,
watermelon is a fruit, botanically. It is the fruit of a plant originally from a vine of southern Africa. Watermelon is a member of the cucurbitaceae plant family of gourds (classified as Citrullus lantus), related to the cucumber, squash and pumpkin.