Mutations are changes in a DNA sequence that can occur due to errors in DNA copying, exposure to mutagens like radiation or chemicals, or infection by viruses. There are two main types of mutations - germline mutations that can be inherited, and somatic mutations that occur in body cells and are not passed to offspring. Mutations can involve changes to genes like substitutions or deletions of DNA bases, or changes to chromosomes like translocations, duplications, or changes in chromosome number. The effects of mutations depend on whether they are dominant or recessive, and the type of cell and genes involved.