A sputum culture is a laboratory test used to detect and identify bacteria or fungi that infect the lungs or respiratory passages. This test is essential in diagnosing various respiratory conditions, such as pneumonia, bronchitis, and tuberculosis. In pediatrics, sputum cultures can be particularly challenging due to the difficulty children may have in producing a sample.