What does getting a Pap smear look for?

Like what does it test