According to this passage, what is the purpose of a Pap smear? to treat cervical cancer to detect abnormal cervical cells to diagnose ovarian cancer to prevent HPV.