Sputum cytology is a diagnostic test that involves the microscopic examination of cells found in sputum, which is mucus that is coughed up from the lungs. This test is particularly useful in detecting certain types of lung cancer, as well as other respiratory conditions.