A mutagen refers to any agent capable of producing damage to DNA. This results in the formation of mutations, the primary source of genetic diversity in populations.