In an aquatic bird population, some birds have long legs. Other birds have short legs. The food supply is minimal. The birds with long legs are able to wade farther into the water where they can find fish. Over time, the birds with long legs become more common

Natural selection
Fitness
Selective pressure
mutation

adaptation