Darwin developed his theory of evolution by natural selection based on observations from his voyage on the HMS Beagle. He saw that different species of finches on the Galapagos Islands had adapted to have beaks suited to the food available on their particular island. This led Darwin to realize that the mechanism of natural selection - where individuals with traits better suited to the environment tend to survive and pass on those traits - over many generations could explain the diversity of life without needing to invoke design. His theory revolutionized scientific thought by providing a naturalistic explanation for both microevolution within species and macroevolution between species over immense periods of time.