A Pap smear is a routine procedure used to screen for cervical cancer. During the test, a small sample of cells from the cervix is collected and examined. It is generally a quick and relatively painless procedure, but some individuals may experience mild discomfort.