For a great many years evolution was conceived as being driven externally by environmental pressures and internally by mutations in DNA. Mutations in the DNA created genetic diversity and when there were changes in the environment, those animals with the mutated DNA were sudden in a more favorable position.
FORBES: The Fossils in Our Genes