While squash varieties tend to have a savory flavor similar to other vegetables, squash is actually a fruit. Squash falls under the botanical definition of a fruit because it contains seeds and comes from the flower-producing part of a plant which are defining factors for a fruit.