Although zucchini is often referred to as a vegetable, botanically speaking, it is actually a type of fruit. But you can still refer to them as vegetables. It belongs to the family of Cucurbitaceae together with other types of fruits such as cucumbers and gourds.