The part of the flower which contains the ovary is called Pistil. It comprises style, stigma, and ovary.
The ovary in flowering plants is a part of the female reproductive structure of the gynoecium.
Particularly, it is the section of the pistil holding the ovule and is located beneath or above, or at the point of connection with the bottom of sepals and petals.
Different parts of a flower:
The vegetative part of a flower:
Petals: This is a bright-colored part that attracts bees, insects, and birds. The color of petals varies from plant to plant. Some are bright while some are pale-colored. Thus, petals help us in differentiating one flower from another.
Sepals: The sepal is the green-colored part below the petals to protect rising buds. Some flowers have blended petals-sepals while a few have distinguished petals-sepals.
Reproductive parts of a flower:
Stamen: This represents the male reproductive organ and is also known as Androecium. It comprises two parts namely: anther and filaments.
Anther: It is a yellowish, sac-like structure involved in producing and storing the pollens.
Filament: It is a slender, threadlike object which functions by supporting the anther.
Pistil: This represents the female reproductive organ of a flower and lies in the innermost part comprising of three parts -stigma, style, and ovary.
Stigma: It is the topmost part or receptive tip of carpels in the gynoecium of a flower.
Style: It is the long tube-like slender stalk that attaches the stigma and the ovary.
Ovary: It is the ductless reproductive gland that carries a lot of ovules. The seed formation also takes place in this part of this.
A figure showing different parts of a flower is given below: