DNA methylation generally represses gene expression. When methyl groups are added to the promoter regions of genes, they can block the binding of transcription factors and other regulatory proteins, thereby silencing the gene. Conversely, the removal of methyl groups, known as demethylation, can activate gene expression.