A change in the DNA sequence that makes up a gene, which may result in altered protein synthesis and function. It can occur spontaneously or due to exposure to mutagens such as radiation, chemicals, or viruses. Can be harmful, beneficial, or have no effect on the individual.