Standardization
Companies that have products which follow these rules can make their products work together.  One example of a standard is the two pin plug. It provides electricity. It is commonly found in household appliances. Many countries have adopted it. However, this is not the case for three-pin plugs: they are different in each country.