Artificial selection is carried out in crop plants and domesticated animals by choosing individuals for breeding that have desirable traits. Unintended consequences of human actions, such as the evolution of resistance in bacteria when an antibiotic is used, are due to natural rather than artificial selection.