Cervical cancer is linked to long-lasting HPV infection. The immune system typically fights off HPV, but if the infection persists, it can lead to cervical cancer.