Military ranks are a system of hierarchical relationships in armed forces,police,intelligence agencies or other institutions organized along military lines. Usually, uniforms denote the bearer's rank by particular insignia affixed to the uniforms. Ranking systems have been known for most of military history to be advantageous for military operations, in particular with regards to logistics, command, and coordination; as time went on and military operations became larger and more complex, military ranks increased and ranking systems themselves became more complex.
Within modern armed forces, the use of ranks is almost universal. Communist states have sometimes abolished rank (e.g., the Soviet Red Army 1918–1935, the Chinese People's Liberation Army 1965–1988, and the Albanian Army 1966–1991), only to re-establish them after encountering operational difficulties of command and control.
The term "rank" comes from Persian رنگ rang meaning "colour", as the Sassanid army was ranked and dressed by colour.
From 501 BC the Athenians annually elected ten individuals to the rank of strategos, one for each of the ten "tribes" that had been created with the founding of the democracy. Strategos literally means "army leader" and so it is usually translated as "general". Originally these generals worked together with the old polemarchos ("warlord") but over time the latter figure was absorbed into the generalship: each of the ten generals would rotate as polemarch for one day, and during this day his vote would serve as tie-breaker if necessary.