Cancer is a dangerous disease and one of the leading causes of death in the world. In 2020, there were nearly 10 million cancer deaths and approximately 20 million new cases. New cases and deaths from cancer are expected to increase further in the coming years. To have a deeper insight into the mechanism of carcinogenesis, epigenetics studies have been published and received much attention from scientists, doctors, and patients. Among alterations in epigenetics, DNA methylation and histone modification are studied by many scientists. They have been reported to be a major contributor in tumor formation and are involved in metastasis. From the understanding of DNA methylation and histone modification, effective, accurate and cost-effective methods for diagnosis and screening of cancer patients have been introduced. Furthermore, therapeutic approaches and drugs targeting altered epigenetics have also been clinically studied and have shown positive results in combating tumor progression. Several cancer drugs that rely on DNA methylation inactivation or histone modification have been approved by the FDA for the treatment of cancer patients. In summary, epigenetics changes such as DNA methylation or histone modification are take part in tumor growth, and they also have great prospect to study diagnostic and therapeutic methods of this dangerous disease.