The best explanation for the evolution of long necks in giraffes through natural selection is:
C. Giraffes with longer necks survived because they were better suited to the environment.
This statement captures the essence of natural selection, where individuals with traits that provide a survival advantage in a specific environment are more likely to survive and reproduce, passing those advantageous traits to the next generation. In the case of giraffes, longer necks may have allowed them to reach higher foliage for food, thereby increasing their chances of survival.