Sputum cytology examines a sample of sputum (mucus) under a microscope to determine whether abnormal cells are present. Sputum is not the same as saliva. Sputum is produced in the lungs and in the airways leading to the lungs. Sputum has some normal lung cells in it.