There are many ways to collect samples:  Sputum cytology: sputum is coughed up from the lungs. Thoracentesis: the health care provider uses a long needle to remove pleural fluid from the chest.