In microbiology, genetics, cell biology, and molecular biology, competence is the ability of a cell to alter its genetics by taking up extracellular DNA from its environment through a process called transformation. Competence can be differentiated between natural competence and induced or artificial competence. Natural competence is a genetically specified ability of bacteria that occurs under natural conditions as well as in the laboratory. Artificial competence arises when cells in laboratory cultures are treated to make them transiently permeable to DNA. Competence allows for rapid adaptation and DNA repair of the cell.