Is a pumpkin a fruit or vegetable?

Technically speaking, It is a fruit because a pumpkin is a fleshy plant that has seeds in it and comes from a flower. It is from the gourd family.