my teacher told tthat the seeds which come in a fruit depends on the ovules present in the ovary is it right pls explain it iam not getting it
Yes your teaches has given you the right information.
Seeds are present inside fruits.
After fertilization i.e. after the fusion of male (pollen) and female (ovule) gametes:
The ovary gives rise to the fruit, while the other structures of the flower fall down. Thus, the fruit is a ripened ovary.
The ovules present inside the ovary develop into a seed. Therefore the number of seeds depends on the ovules. Seeds, further contain an embryo, which is protected by the seed coat.