The Pap test is performed on the cervix in order to detect cancerous cells or cells that potentially may become cancerous in the future.