Sexually reproducing animals, plants, fungi and protists are thought to have evolved from a common ancestor that was a single-celled eukaryotic species. Sexual reproduction is widespread in eukaryotes, though a few eukaryotic species have secondarily lost the ability to reproduce sexually, such as Bdelloidea, and some plants and animals routinely reproduce asexually (by apomixis and parthenogenesis) without entirely having lost sex. The evolution of sexual reproduction contains two related yet distinct themes: its origin and its maintenance. Bacteria and Archaea (prokaryotes) have processes that can transfer DNA from one cell to another (conjugation, transformation, and transduction), but it is unclear if these processes are evolutionarily related to sexual reproduction in eukaryotes. In eukaryotes, true sexual reproduction by meiosis and cell fusion is thought to have arisen in the last eukaryotic common ancestor, possibly through several processes of varying success, and then to have persisted.

Since hypotheses for the origin of sex are difficult to verify experimentally (outside of evolutionary computation), most current work has focused on the persistence of sexual reproduction over evolutionary time. The maintenance of sexual reproduction (specifically, of its dioecious form) by natural selection in a highly competitive world has long been one of the major mysteries of biology, since both other known mechanisms of reproduction – asexual reproduction and hermaphroditism – possess apparent advantages over it. Asexual reproduction can proceed by budding, fission, or spore formation and does not involve the union of gametes, which accordingly results in a much faster rate of reproduction compared to sexual reproduction, where 50% of offspring are males and unable to produce offspring themselves. In hermaphroditic reproduction, each of the two parent organisms required for the formation of a zygote can provide either the male or the female gamete, which leads to advantages in both size and genetic variance of a population.

Sexual reproduction therefore must offer significant fitness advantages because, despite the two-fold cost of sex in relative slowness of propagation (see below), it dominates among multicellular forms of life, implying that the fitness of offspring produced by sexual processes outweighs the costs. Sexual reproduction derives from recombination, where parent genotypes are reorganised and shared with the offspring. This stands in contrast to single-parent asexual replication, where the offspring is always identical to the parents (barring mutation). Recombination supplies two fault-tolerance mechanisms at the molecular level: recombinational DNA repair (promoted during meiosis because homologous chromosomes pair at that time) and complementation (also known as heterosis, hybrid vigour, or masking of mutations).

Historical perspective Reproduction, including modes of sexual reproduction, features in the writings of Aristotle; modern philosophical-scientific thinking on the problem dates from at least Erasmus Darwin (1731–1802) in the 18th century. From p. 104: "As the progeny by lateral generation [i.e., vegetative (asexual) reproduction] so exactly resembles the parent stock, it follows, that though any new variety, or improvement, may be thus continued for a century or two, as in grafted fruit-trees, yet that no new variety or improvements can be obtained by this mode of generation; … " "But from the sexual, or amatorial, generation of plants new varieties, or improvements, are frequently obtained; as many of the young plants from seeds are dissimilar to the parent, and some of them supererior to the parent in the qualities we wish to possess; … " " … another advantage occurs from sexual generation, which is the production of new species of plants, or mules, … " August Weismann picked up the thread in 1885, arguing that sex serves to generate genetic variation, as detailed in the majority of the explanations below.English translation: Ch. 5: The Significance of Sexual Reproduction in the Theory of Natural Selection (1886) Weismann, Aug. (1885) "Die Bedeutung der sexuellen Fortpflanzung für die Selektions-Theorie" [The significance of sexual reproduction in the theory of natural selection] Stilling, J. (ed.) Tageblatt der 58. Versammlung Deutscher Naturforscher und Aerzte in Strassburg [Daily News of the 58th Conference of German Natural Scientists and Physicians in Strassburg] (in German) Strassburg, Germany: G. Fischbach pp. 42-56. Revised and expanded in: On the other hand, Charles Darwin (1809–1882) concluded that the effect of hybrid vigor (complementation) "is amply sufficient to account for the ... genesis of the two sexes". This is consistent with the repair and complementation hypothesis, described below. Since the emergence of the modern evolutionary synthesis in the 20th century, numerous biologists including W. D. Hamilton, Alexey Kondrashov, George C. Williams, Harris Bernstein, Carol Bernstein, Michael M. Cox, Frederic A. Hopf and Richard E. Michod – have suggested competing explanations for how a vast array of different living species maintain sexual reproduction.

Advantages of sex and sexual reproduction

The concept of sex includes two fundamental phenomena: the sexual process (fusion of genetic information of two individuals) and sexual differentiation (separation of this information into two parts). Depending on the presence or absence of these phenomena, all of the existing forms of reproduction can be classified as asexual, hermaphrodite or dioecious. The sexual process and sexual differentiation are different phenomena, and, in essence, are diametrically opposed. The first creates (increases) diversity of genotypes, and the second decreases it by half.

Reproductive advantages of the asexual forms are in quantity of the progeny, and the advantages of the hermaphrodite forms are in maximal diversity. Transition from the hermaphrodite to dioecious state leads to a loss of at least half of the diversity. So, the primary challenge is to explain the advantages given by sexual differentiation, i.e. the benefits of two separate sexes compared to hermaphrodites rather than to explain benefits of sexual forms (hermaphrodite + dioecious) over asexual ones. It has already been understood that since sexual reproduction is not associated with any clear reproductive advantages over asexual reproduction, there should be some important advantages in evolution.Crow J.F. (1994). Advantages of Sexual Reproduction, Dev. Gen., vol.15, pp. 205-213.

Advantages due to genetic variation, DNA repair and genetic complementation

For the advantage due to genetic variation, there are three possible reasons this might happen. First, sexual reproduction can combine the effects of two beneficial mutations in the same individual (i.e. sex aids in the spread of advantageous traits) without the mutations having to have occurred one after another in a single line of descendants. Second, sex acts to bring together currently deleterious mutations to create severely unfit individuals that are then eliminated from the population (i.e. sex aids in the removal of deleterious genes). However, in organisms containing only one set of chromosomes, deleterious mutations would be eliminated immediately, and therefore removal of harmful mutations is an unlikely benefit for sexual reproduction. Lastly, sex creates new gene combinations that may be more fit than previously existing ones, or may simply lead to reduced competition among relatives.

For the advantage due to DNA repair, there is an immediate large benefit of removing DNA damage by recombinational DNA repair during meiosis (assuming the initial mutation rate is higher than optimal), since this removal allows greater survival of progeny with undamaged DNA. The advantage of complementation to each sexual partner is avoidance of the bad effects of their deleterious recessive genes in progeny by the masking effect of normal dominant genes contributed by the other partner.

The classes of hypotheses based on the creation of variation are further broken down below. Any number of these hypotheses may be true in any given species (they are not mutually exclusive), and different hypotheses may apply in different species. However, a research framework based on creation of variation has yet to be found that allows one to determine whether the reason for sex is universal for all sexual species, and, if not, which mechanisms are acting in each species.

On the other hand, the maintenance of sex based on DNA repair and complementation applies widely to all sexual species.

Protection from major genetic mutation In contrast to the view that sex promotes genetic variation, Heng, and Gorelick and Heng reviewed evidence that sex actually acts as a constraint on genetic variation. They consider that sex acts as a coarse filter, weeding out major genetic changes, such as chromosomal rearrangements, but permitting minor variation, such as changes at the nucleotide or gene level (that are often neutral) to pass through the sexual sieve.

Novel genotypes

Sex could be a method by which novel genotypes are created. Because sex combines genes from two individuals, sexually reproducing populations can more easily combine advantageous genes than can asexual populations. If, in a sexual population, two different advantageous alleles arise at different loci on a chromosome in different members of the population, a chromosome containing the two advantageous alleles can be produced within a few generations by recombination. However, should the same two alleles arise in different members of an asexual population, the only way that one chromosome can develop the other allele is to independently gain the same mutation, which would take much longer. Several studies have addressed counterarguments, and the question of whether this model is sufficiently robust to explain the predominance of sexual versus asexual reproduction remains.

Ronald Fisher suggested that sex might facilitate the spread of advantageous genes by allowing them to better escape their genetic surroundings, if they should arise on a chromosome with deleterious genes.

Supporters of these theories respond to the balance argument that the individuals produced by sexual and asexual reproduction may differ in other respects too – which may influence the persistence of sexuality. For example, in the heterogamous water fleas of the genus Cladocera, sexual offspring form eggs which are better able to survive the winter versus those the fleas produce asexually.

Increased resistance to parasites One of the most widely discussed theories to explain the persistence of sex is that it is maintained to assist sexual individuals in resisting parasites, also known as the Red Queen hypothesis.Matt Ridley 1995 The Red Queen: Sex and the Evolution of Human Nature 1995 Penguin.MacIntyre, Ross J.; Clegg, Michael, T (Eds.), Springer. Hardcover , Softcover .

When an environment changes, previously neutral or deleterious alleles can become favourable. If the environment changed sufficiently rapidly (i.e. between generations), these changes in the environment can make sex advantageous for the individual. Such rapid changes in environment are caused by the co-evolution between hosts and parasites.

Imagine, for example that there is one gene in parasites with two alleles p and P conferring two types of parasitic ability, and one gene in hosts with two alleles h and H, conferring two types of parasite resistance, such that parasites with allele p can attach themselves to hosts with the allele h, and P to H. Such a situation will lead to cyclic changes in allele frequency – as p increases in frequency, h will be disfavoured.