The fruit is the ripened ovary of a flower.
The ovary of the flower develops into a fruit.
Once the flower has been polinated, it eventually turns into a fruit. This happens in the female part of the flower.
ovary
seed
flower
The ovary
anther
the ovary
the ovary
gymonecium
The ovary of a flower develops into a fruit after fertilization. The ovary contains the ovules which, once fertilized, develop into seeds, and the surrounding ovary wall becomes the fruit.
In most plants, this would be the flower; specifically, the petals.