During his voyage, and in the years after, Darwin developed and refined a set of ideas that could explain the patterns he had observed.