Nucleotide excision repair is a DNA repair mechanism. DNA constantly requires repair due to damage that can occur to bases from a vast variety of sources including chemicals but also ultraviolet (UV) light from the sun. Nucleotide excision repair (NER) is a particularly important mechanism by which the cell can prevent unwanted mutations by removing the vast majority of UV-induced DNA damage (mostly in the form of thymine dimers and 6-4-photoproducts). The importance of this repair mechanism is evidenced by the severe human diseases that result from in-born genetic mutations of NER proteins including Xeroderma pigmentosum and Cockayne's syndrome. While the base excision repair machinery can recognize specific lesions in the DNA and can correct only damaged bases that can be removed by a specific endonuclease, the nucleotide excision repair enzymes recognize bulky distortions in the shape of the DNA double helix. Recognition of these distortions leads to the removal of a short single-stranded DNA segment that includes the lesion, creating a single-strand gap in the DNA, which is subsequently filled in by DNA polymerase, which uses the undamaged strand as a template. NER can be divided into two subpathways (Global genomic NER and Transcription coupled NER) that differ only in their recognition of helix-distorting DNA damage.