Pap smear is a cytological screening test used to detect early precancerous changes of the cervix so that these conditions can be managed or treated to prevent disease progression due to invasive cancer.