Charles Darwin developed his theory of evolution by natural selection based on observations and evidence collected during his five-year voyage on the HMS Beagle. His findings showed that species varied between geographic locations and that fossils resembled both extinct and modern species. He hypothesized that all life shares common ancestry and that natural selection leads to gradual changes in species over many generations as individuals better suited for their environment are more likely to survive and reproduce.