Charles Darwin developed the theory of evolution by natural selection after observing finches with different beak structures on the Galapagos Islands. His 1859 book On the Origin of Species introduced the idea that species change over time through natural selection, where organisms with traits better suited to their environment are more likely to survive and pass on those traits, leading to new species. Darwin provided evidence that all life on Earth shares common ancestry, challenging the prevailing view that species were fixed and separately created. His theory of evolution by natural selection explained how the 1.5 million species alive today could have evolved from common ancestors through gradual genetic changes over many generations.