Charles Darwin developed the theory of evolution by natural selection based on observations and evidence collected during his voyage on the HMS Beagle. He noticed that species on different islands were well-adapted to their local environments, and that fossils resembled modern species, suggesting life had changed over time. Darwin proposed that individuals vary within a population, and that natural selection leads to the survival of individuals best suited for their environment, causing species to change gradually over many generations through descent with modification.