Reproduction is so primitive and fundamental a function of vital organisms that the mechanism by which it is assured is highly complex and not yet clearly understood. It is not necessarily connected with sex, nor is sex necessarily connected with reproduction.