A mutation is a change in the DNA code
A gene is a long run of bases, and the order of the bases is the code for a protein. A mutation is any change in that order.
Mutations can happen:
- by chance, when a cell copies its DNA and makes a mistake;
- because of a mutagen: something that damages DNA, such as ultraviolet light from the Sun, X-rays, or chemicals in cigarette smoke.
Change the DNA, and the mRNA copied from it changes too. That can change the protein.
Changed DNA → changed mRNA → maybe a changed protein