Photochemical modification is the major class of environmental damage suffered by DNA, the genetic material of all free-living organisms. Photolyases are enzymes that carry out direct photochemical repair (photoreactivation) of covalent pyrimidine dimers formed in DNA from exposure to ultraviolet light. The discovery of catalytic RNAs in the 1980s led to the "RNA world hypothesis", which posits that early in evolution RNA or a similar polymer served both genetic and catalytic functions. Intrigued by the RNA world hypothesis, we set out to test whether a catalytic RNA (or a surrogate, a catalytic DNA) with photolyase activity could be contemplated. In vitro selection from a random-sequence DNA pool yielded two DNA enzymes (DNAzymes): Sero1C, which requires serotonin as an obligate cofactor, and UV1C, which is cofactor-independent and optimally uses light of 300-310 nm wavelength to repair cyclobutane thymine dimers within a gapped DNA substrate. Both Sero1C and UV1C show multiple turnover kinetics, and UV1C repairs its substrate with a quantum yield of ∼0.05, on the same order as the quantum yields of certain classes of photolyase enzymes. Intensive study of UV1C has revealed that its catalytic core consists of a guanine quadruplex (G-quadruplex) positioned proximally to the bound substrate's thymine dimer. We hypothesize that electron transfer from photoexcited guanines within UV1C's G-quadruplex is responsible for substrate photoreactivation, analogous to electron transfer to pyrimidine dimers within a DNA substrate from photoexcited flavin cofactors located within natural photolyase enzymes. Though the analogy to evolution is necessarily limited, a comparison of the properties of UV1C and Sero1C, which arose out of the same in vitro selection experiment, reveals that although the two DNAzymes comparably accelerate the rate of thymine dimer repair, Sero1C has a substantially broader substrate repertoire, as it can repair many more kinds of pyrimidine dimers than UV1C. Therefore, the co-opting of an amino acid-like cofactor by a nucleic acid enzyme in this case contributes functional versatility rather than a greater rate enhancement. In recent work on UV1C, we have succeeded in shifting its action spectrum from the UVB into the blue region of the spectrum and determined that although it catalyzes both repair and de novo formation of thymine dimers, UV1C is primarily a catalyst for thymine dimer repair. Our work on photolyase DNAzymes has stimulated broader questions about whether analogous, purely nucleotide-based photoreactivation also occurs in double-helical DNA, the dominant form of DNA in living cells. Recently, a number of different groups have reported that this kind of repair is indeed operational in DNA duplexes, i.e., that there exist nucleotide sequences that actively protect, by way of photoreactivation (rather than by simply preventing their formation), pyrimidine dimers located proximal to them. Nucleotide-based photoreactivation thus appears to be a salient, if unanticipated, property of DNA and RNA. The phenomenon also offers pointers in the direction of how in primordial evolution-in an RNA world-early nucleic acids may have protected themselves from structural and functional damage wrought by ultraviolet light.