Or from my website:-
The common Fig has a long history of some 11,000 years, of being bred and cultivated in the Middle East. Probably, around that time, the early farmers noticed a chance genetic mutation which produced a self-pollinating female fig tree variety, which could only be propagated by rooting a shoot. In this all-female fig tree variety, the male flower parts do not develop. While we think of a fig as being a fruit, it is really a “false fruit”, as the flowers and the seeds have grown together to form a single mass where the embryonic flowers are actually inside the fruit. In most other fruits, such as apples, the flowers are outside the embryonic fruit. If it had not been for this chance mutation, we would not be able to grow figs in our climate, as the original figs had to be pollinated by a specific small wasp which had to crawl inside the fig to pollinate it.