As for the giraffe example, Darwin's theory of evolution by natural selection would imply that by chance a giraffe was born with a longer neck. Access to more food allowed the giraffe to live longer and breed more, eventually leading to more long - necked giraffes.