Cervical cancer affects the lower part of the uterus, called the cervix. This cancer is mainly caused by a long-lasting infection with a virus called HPV, or human papillomavirus. It is usually passed from person to person through close skin contact, including sexual activity.