A thoracoscopy is a procedure used by doctors to examine and diagnose problems with your lungs and other organs in your