Oophorectomy is often recommended for women diagnosed with ovarian cancer, as well as for those with a high risk of developing ovarian or breast cancer due to genetic mutations such as BRCA1 or BRCA2. Additionally, it can be part of the treatment for endometrial cancer and other gynecological cancers.