Oophorectomy is a surgical procedure involving the removal of one or both ovaries, often performed to treat or prevent conditions like ovarian cancer, endometriosis, or ovarian cysts. The procedure can have significant hormonal and reproductive implications, especially if both ovaries are removed, leading to surgical menopause in premenopausal women.