The DNA in every (diploid) cell of any organism contains the information to recreate the organism as a whole. However, depending on the location or function of the cell in the organism, different genes will be enabled or disabled.

Some of the genes include the reproductive system.

There is not really telling it how to pass the information on from generation to generation, but rather a design to merely pass the same information/design (or half of it) to the progeny.

The Naked Scientists® and Naked Science® are registered trademarks.
Information presented on this website is the opinion of the individual contributors
and does not reflect the general views of the administrators, editors, moderators,
sponsors, Cambridge University or the public at large.