Darwin's theory of natural selection provides an explanation for why organisms develop traits that help them survive and reproduce.