It’s true. Fruits are classified into four categories: Simple, compound, accessory and aggregate fruits. Classification is based on which part of the flower or ovary give rise to the skin, flesh and seeds.
The defining characteristic of berries, in the simple group, is that they are formed from the wall of a ripened ovary and are soft and pulpy. Bananas, tomatoes, pomegranates, grapes, blueberries, avocados and kiwis all fit the bill.
I’m going to blow your mind even more. Strawberries and raspberries aren’t actually berries. They’re from a flower with the numerous pistils, which makes them an aggregate fruit, along with blackberries and watermelon.
Multiple fruits, like pineapple, jackfruit and guava are developed from a cluster of flowers.
Accessory fruits come from parts of the plant other than the ovary. Examples include sweet peas, beans and peanuts.
Yup, peanuts and sweet peas are fruits. But not everything you thought you knew is wrong. You still can’t compare apples (aggregate fruits) to oranges (simple fruits).