This test looks at sputum, or the mucus from your lower airways. It finds out whether you have a lung infection caused by a certain organism.