Oophorectomy is the removal of an ovary or ovaries. It is similar to castration. People get an oophorectomy for many reasons. This may be to treat cancer or the menstrual cycle. It has also been proposed as a way of treating female sexual predators, female hebephiles and female pedophiles by stopping their libido.