After successful fertilization in a flowering plant, the ovary undergoes a transformation into a fruit, while the ovules inside the ovary develop into seeds.
After fertilization, the ovary begins to enlarge and undergoes changes to form a fruit. The outer wall of the ovary thickens and differentiates into various layers that make up the pericarp of the fruit: