The diversity of organisms present on earth is the result of natural selection. members of species differs from one another in their phenotype. this variation in phenotype allows the occurrence of natural selection . Thus, natural selection works on genetic variations within a population, selecting the traits which are most adapted to the habitat.