An example of analogy used in popular science writing:
"There are nearly 1,300 gene families in the human genome. Almost all of these gene families occur through all branches of the kingdom of life, from the simplest organisms upwards. …
It's a little as if our protein-coding genome has been built from a giant LEGO kit. …
Throughout evolution, genomes have developed by building out from a standard set of LEGO templates, and only very rarely have they created something completely new."
Nessa Carey (2015) Junk DNA. A journey through the dark matter of the genome. London: Icon Books Ltd.
Read examples of scientific analogies
Many examples of science analogies are listed in 'Creative comparisons: Making science familiar through language. An illustrative catalogue of figurative comparisons and analogies for science concepts'. Free Download.