Most ovarian cysts are related to ovulation, being either follicular cysts or corpus luteum cysts. Other types include cysts due to endometriosis, dermoid cysts, and cystadenomas. Many small cysts occur in both ovaries in polycystic ovary syndrome (PCOS). Pelvic inflammatory disease may also result in cysts. Rarely, cysts may be a form of ovarian cancer. Diagnosis is undertaken by pelvic examination with an ultrasound or other testing used to gather further details.