DNA methylation typically involves the addition of a methyl group to the cytosine base in the DNA sequence, commonly at CpG islands. In cancer, abnormal DNA methylation patterns, such as hypermethylation of tumor suppressor genes and hypomethylation of oncogenes, can disrupt normal cellular functions and promote tumorigenesis.