The ripened ovary of a plant that contains seeds