A procedure in which a thin, lighted tube is inserted through the nose or mouth. This allows examination of the inside of the trachea and bronchi (air passages that lead to the lung), as well as the lung. Bronchoscopy may be used to detect cancer or to perform some treatment procedures.