ISO 3166 is an international standard which defines codes representing names of countries and their subdivisions. The standard specifies basic guidelines for the implementation and maintenance of country and subdivisions codes. Most people refer to ISO 3166, but actually it is divided into three parts.