Thoracoscopy, also known as video-assisted thoracoscopic surgery (VATS), is a minimally invasive surgical technique used to diagnose and treat conditions within the chest cavity. It involves the use of a thin, flexible tube with a camera (thoracoscope) inserted through small incisions in the chest. This allows doctors to view the chest cavity and perform various surgical procedures with minimal disruption to the child's body.