Pap smear???

Really random question but what does a Pap smear test for? I know they look for abnormalities for things that can lead to cervical cancer and all that but is that all they test for in a pap smear?