The correct answer is B. Protection and dispersal of seeds
Explanation:
In plants, fruits are structures that form as a result of fertilization, which makes ovules become seeds and flowers maturate to become fruits. This is necessary for the reproduction of plants, as fruits contain seeds or genetical material that is protected by different layers and leads to new plants if seeds are dispersed. The process of dispersal commonly occurs as the fruit falls from the plant or is eaten by other organisms and then disperse in other areas, which allow plants to reproduce. According to this, the main function of fruits is protection and dispersal of seeds.