Laparoscopy can be used to help diagnose a wide range of conditions that develop inside the abdomen or pelvis. It can also be used to carry out surgical procedures, such as removing a damaged or diseased organ, or removing a tissue sample for further testing (biopsy).