A nasal swab is a medical test involving the collection of a sample from the inside of a child's nose. It is commonly used to detect the presence of viruses, bacteria, or other pathogens. This method is frequently employed for diagnosing respiratory infections, such as the flu, respiratory syncytial virus (RSV), and COVID-19.