A mature plant ovary; a modified flower part that encloses a seed or seeds.