Natural selection is one of the basic mechanisms of evolution, along with mutation, migration, and genetic drift. Darwin's grand idea of evolution by natural selection is relatively simple but often misunderstood. To find out how it works, imagine a population of beetles: There is variation in traits.