Cervical cancer, caused by Human Papilloma Virus (HPV), is not hereditary, and HPV infection doesn't always lead to cancer.
HPV can cause several types of genital cancer, including cervical cancer, penile cancer, anal cancer and vaginal cancer.