Cervical swabs are primarily used for diagnostic and preventive purposes. They help in the early detection of infections or abnormalities that could lead to more serious health issues, such as cervical cancer. It is also used to diagnose conditions like bacterial vaginosis, yeast infections, and trichomoniasis.