PURPOSE: This is a biological sample collection study aimed at developing an early diagnostic tool for endometrial and ovarian cancer. The investigators are studying the relationship between estrogen driven gynecological cancers, inflammation and the microbiome. Patients who have been diagnosed with endometrial cancer or undergo presurgical evaluation for suspicion of ovarian cancer who are scheduled for a hysterectomy, bilateral oophorectomy and/or salpingectomy are eligible. Control patients undergoing gynecological surgery for benign indications are also being recruited.