Genes are segments of DNA that contain instructions for protein synthesis. A gene mutation occurs when the sequence of nucleotides in a gene is altered, changing the genetic code. Mutations can involve a single nucleotide or larger segments of DNA, and usually result in nonfunctional proteins, leading to genetic variation and potential disease development.