Theory of natural selection