Which of the following shows the process of evolution best?

A. A plants flowers can be pink or blue based on the pH of the soil

B. A polar bear migrated to fertile grounds on a seasonal basis

C. A deciduous plant loses it leaves in the cooler temperatures

D. A population of weeds develops resistance to herbicides over time