The Pap test checks for cervical cancer. Cells scraped from the opening of the cervix are examined under a microscope. The cervix is the lower part of the uterus (womb) that opens at the top of the vagina.