An ovary is the basal swollen portion of the pistil or carpel. The ovary may be one chambered or unilocular as in pea or plurilocular as in China rose. Ovules develop within the ovary. After fertilization, an ovule is transformed into a seed and the ovary into a fruit.