Sputum is typically collected in the morning because overnight accumulation in the lungs provides a more concentrated sample. The collection is done using a sterile container. The sample undergoes various laboratory tests, including microscopy, culture, and molecular techniques such as polymerase chain reaction (PCR). Each method has its advantages and limitations, but together they provide a comprehensive analysis.