HPV testing checks for the presence of the human papillomavirus, which is a major risk factor for cervical cancer. This test can be done simultaneously with a Pap smear or separately. It is particularly important because certain strains of HPV are known to cause cervical cancer. Combining HPV testing with a Pap smear increases the accuracy of cervical cancer screening.