A nonsense mutation is a type of genetic mutation that occurs when a change in the DNA sequence of a gene results in a premature stop codon, or a stop signal that signals the end of protein synthesis. This can lead to the production of a truncated, non-functional protein.