Answer:
When an organism lives in a certain environment there is a process called natural selection. Natural selection ensures that the organisms of a species with the best traits suited for an environment will reproduce and pass on those traits to the offspring.
Step-by-step explanation:
The theory of natural selection was studied by Charles Darwin in The Origin of Species by Means of Natural Selection if you need more information.