The goal of a Pap smear is to obtain a sample of cells from the cervix using a swab, or smear. The specimen is sent to a lab to be analyzed.