After fertilization, the ovary, which contains the ovules, starts developing in response to plant hormones produced after fertilization. The ovary enlarges progressively, forming the fruit. The main function of the fruit is to protect the developing seeds and enable their dispersal.