The little black spots inside are the ovules that never developed. And, by rhizomes. Enough about bananas. Silicle, synconium, and caryopsis or grain are some other fruits you have there. It seems silly to me.
Figs are a synconium, a type of fruit that has a hollow receptacle lined with imperfect flowers.
The hollowed receptacle has an opening in the top called the ostiole. Yeah, wasps enter the opening and forage around inside the fig. They have a very interesting co-evolutionary relationship. Go od question. Some figs are monoecious and have pistillate flowers with both long styles and short styles interspersed with staminate flowers.