Pelvic laparoscopy is often used to diagnose and treat the causes of pelvic problems, such as pain and infertility.