A Pap smear test takes a sample of mucus and cells from inside the cervix.