A Pap smear is a test that checks for changes in the cells of the cervix, which can lead to cervical cancer.