MERRF syndrome is caused by mutations in the mitochondrial DNA (mtDNA), most commonly in the MT-TK gene which encodes tRNALys. These mutations impair the function of the mitochondria, leading to a decrease in ATP production and increased generation of reactive oxygen species.