At almost the same time that Mendel was working on his laws of inheritance, Charles Darwin was completing his theory of natural selection, which sought to explain the change of species over time.