This is a diagnostic test that can be done during bronchoscopy to obtain a sample of the fluid and cells within the airways. This sample can be tested to help determine the cause of airway disease. Some cancers and reasons for chronic bronchitis (allergic, chronic irritant or resistant infections) can be diagnosed by this method.