A sputum culture is a laboratory test used to examine a sample of sputum, which is the mucus and other material that is coughed up from the lower respiratory tract, including the lungs and bronchial tubes. This test is typically performed to identify and diagnose respiratory infections, such as bacterial or fungal infections, that may be causing symptoms such as cough, chest pain, difficulty breathing, and fever.