Variations occur due to sexual reproduction and also due to inaccurate copying of DNA. Depending on the nature of variations, different individuals would have different kinds of advantages. For example, bacteria variants which can withstand heat have better chances to survive in a heat wave non-variant bacteria having no capacity to tolerate heat wave. Thus, variations in a population of a species help in survival of a species.