Cancer occurs in two ways, one is caused by acquired factors (somatic mutation), and the other is caused by congenital genetic factors (germline mutation); cancers caused by congenital genetic factors are called hereditary cancers. For example, in a family, if cancer has occurred in several consecutive generations, it is likely to be hereditary cancer.