DNA methylation is a process in which a methyl group is attached to the cytosine base of the DNA molecule,…