Social networks are based on the theory of six degrees, six degrees of separation is the theory that anyone on earth can be connected to any other person on the planet through a chain of acquaintances that has no more than six intermediaries.The concept is based on the idea that the number of acquaintances grows exponentially with the number of links in the chain, and only a small number of links are necessary for the set of acquaintances to become the entire human population. The purposes that have led to the creation of so-called social networks are several, mainly, is to design a place of virtual interaction, in which millions of people around the world are concentrated with diverse interests in common.