six degrees of separation
The theory that any two people in the world are connected in some way by no more than six people.
Using sexual contact as an example: when one has contact with another person, contact is effectively made with every person that person has come into contact with, and every person those people have come into contact with and so on.