Many boundaries are natural boundaries, formed by rivers, mountains, etc. There are also political boundaries. These are often formed through war and compromise in treaties and agreements. In countries often form cultural boundaries that used to belong to a groups cultural homeland. However, countries in Africa, the Middle East and elsewhere aren't arranged by culture but politics, and Western countries turned their former colonies into nations without respect for culture.