After fertilization in flowering plants, the ovary, which contains the ovules, develops and matures into the fruit. Simultaneously, the ovules inside the ovary develop and mature into seeds. Therefore, the fruit is produced by the ovary, and the seed is produced by the ovule.