An example of an anthropomorphic analogy* in popular science writing:
"Much as atoms go searching for one or multiple dance partners depending in their electronic need, different people may be searching for one partner to complete them, or for many friends to bond and connect with. This connective outreach, or atomic bonding potential, is referred to as their valency."
Dr Camilla Pang
Pang, C. (2020). Explaining Humans. What science can teach us about life, love and relationships. Viking.
(* An analogy is made between the behviours of atoms and people – but in doing so the atoms are treated as having human-like perception and intentions.)
Read examples of scientific analogies
Read examples of anthropomorphism in science