A laparoscopy is a type of keyhole surgery used to inspect and operate on the organs inside the abdominal (belly) and pelvic area. Laparoscopy can be used for diagnosis, by viewing the internal organs or taking a tissue sample (biopsy). It may also be used to treat a problem surgically at the same time.