Cancer, which can be explained as malignant tumors and neoplasms, is one of the main factors of human mortality and greatly obstructs the extension global human life span. There are various human cancers induced by viruses. Hepatocellular carcinoma (HCC) and cervical cancer (CC) are two common cancers related to viruses. The pathogenesis of these carcinogenic viruses has been studied for a long period of time, and some progress has been made. Hepatitis B virus (HBV) infection functions as a promoter of hepatocellular carcinoma occurrence. The integration of HBV DNA into the host genome is one of the important factors of the development of hepatocellular carcinoma. Besides, miRNA plays an important part in HBV ampilification and the progression of HBV-related hepatocellular carcinoma. Another cancer-inducing virus, human papillomavirus (HPV) is highly related to cervical cancer, as the long-term chronic inflammation due to HPV infection can lead to the progression of cervical cancer. Apart from this, APOBECs also give rise to the progression of HPV-induced cervical cancer. This essay will estimate the pathogenesis of HBV-associated hepatocellular carcinoma, such as HBV DNA integration, microRNA. Meanwhile the pathogenesis of HPV-related cervical cancer, such as inflammation, APOBEC3, will also be noted.