The flower of fig is in the fruit, because fig is a cryptoflowering plant, and its receptacle expands and develops, bearing fruit.
Fig is a dioecious plant in Ficus of Moraceae. Its flowers live in the fruit, and its male and female flowers live in the fruit of the banyan tree. But even when they grow together, they still need insect pollination. A small insect can crawl through the crack and spread pollination. Later, figs directly produced egg-shaped fruits on the buds, most of which were purple and yellow.
Characteristics of fig
Figs are not without flowers, but they can't see flowers, so they are called figs. In fact, figs have flowers. The flower of fig grows in the fruit of fig. If you cut it when the fruit just grows, you can see many small flowers, male and female, and then pollinate it, and it will become a fig from the stamen and receptacle.
Figs have flowers, but generally speaking, figs don't bloom, so people think that figs don't bloom, so they are called figs. Botanists call fruits like figs aggregated flowers or compound fruits, and fruits develop from inflorescences.