When the Beagle set out in 1831, the formation of coral atolls was a scientific puzzle.
Darwin's theory followed from his understanding that coral polyps thrive in the clean seas of the tropics where the water is agitated, but can only live within a limited depth of water, starting just below low tide.