The answer is indeed natural selection.
This is the evolutionary process by which beneficial adaptations increase over time in a population due to increased survival and reproductive success of individuals with those adaptations.
Hope this helps! I'm happy to help with any other questions you might have :)