Natural selection is a mechanism of evolution. Organisms that are more adapted to their environment are more likely to survive and pass on the genes that aided their success.
For example, evolving long necks has enabled giraffes to eat leaves that others can't reach.