stylistic:style_transfer
Botanical vs. culinary

Many common language terms used for fruit and seeds differ from botanical classifications. For example, in botany, a fruit is a ripened ovary or carpel that contains seeds, e.g., an orange, pomegranate, tomato or a pumpkin. A nut is a type of fruit (and not a seed), and a seed is a ripened ovule.

In culinary language, a fruit is the sweet- or not sweet- (even sour-) tasting produce of a specific plant (e.g., a peach, pear or lemon); nuts are hard, oily, non-sweet plant produce in shells (hazelnut, acorn). Vegetables, so-called, typically are savory or non-sweet produce (zucchini, lettuce, broccoli, and tomato). but some may be sweet-tasting (sweet potato).

Examples of botanically classified fruit that are typically called vegetables include cucumber, pumpkin, and squash (all are cucurbits); beans, peanuts, and peas (all legumes); and corn, eggplant, bell pepper (or sweet pepper), and tomato. Many spices are fruits, botanically speaking, including black pepper, chili pepper, cumin and allspice. In contrast, rhubarb is often called a fruit when used in making pies, but the edible produce of rhubarb is actually the leaf stalk or petiole of the plant. Edible gymnosperm seeds are often given fruit names, e.g., ginkgo nuts and pine nuts.

Botanically, a cereal grain, such as corn, rice, or wheat is a kind of fruit (termed a caryopsis). However, the fruit wall is thin and fused to the seed coat, so almost all the edible grain-fruit is actually a seed.