Context: The process of DNA replication is not always 100% accurate. Sometimes the wrong base is inserted in the new strand of DNA. This wrong base could become permanent. A permanent change in the sequence of DNA is known as a mutation. Small changes in the DNA sequence are usually point mutations, which is a change in a single nucleotide. Once DNA has a mutation, that mutation will be copied each time the DNA replicates. After cell division, each resulting cell will carry the mutation. A mutation may have no effect. However, sometimes a mutation can cause a protein to be made incorrectly. A defect in the protein can affect how well the protein works, or whether it works at all. Usually the loss of a protein function is detrimental to the organism. In rare circumstances, though, the mutation can be beneficial. Mutations are a mechanism for how species evolve. For example, suppose a mutation in an animals DNA causes the loss of an enzyme that makes a dark pigment in the animals skin. If the population of animals has moved to a light colored environment, the animals with the mutant gene would have a lighter skin color and be better camouflaged. So in this case, the mutation is beneficial. If a single base is deleted (called a deletion, which is also a point mutation), there can be huge effects on the organism, because this may cause a frameshift mutation. Remember that the bases in the mRNA are read in groups of three by the tRNA. If the reading frame is off by even one base, the resulting sequence will consist of an entirely different set of codons. The reading of an mRNA is like reading three-letter words of a sentence. Imagine the sentence: The big dog ate the red cat. If you take out the second letter from "big," the frame will be shifted so now it will read: The bgd oga tet her edc at. One single deletion makes the whole sentence impossible to read. A point mutation that adds a base (known as an insertion) would also result in a frameshift. Mutations may also occur in chromosomes ( Figure 1.1). These mutations are going to be fairly large mutations, possible affecting many genes. Possible types of mutations in chromosomes include: 1. Deletion: When a segment of DNA is lost, so there is a missing segment in the chromosome. These usually result in many genes missing from the chromosome. 2. Duplication: When a segment of DNA is repeated, creating a longer chromosome. These usually result in multiple copies of genes in the chromosome. 3. Inversion: When a segment of DNA is flipped and then reattached to the same chromosome. 4. Insertion: When a segment of DNA from one chromosome is added to another, unrelated chromosome. 5. Translocation: When two segments from different chromosomes change positions. Many mutations are not caused by errors in replication. Mutations can happen spontaneously, and they can be caused by mutagens in the environment. Some chemicals, such as those found in tobacco smoke, can be mutagens. Sometimes mutagens can also cause cancer. Tobacco smoke, for example, is often linked to lung cancer. 
 Question: what type of mutation occurs when a segment of dna is flipped and then reattached to the same chromosome?
Output: inversion