Overview
In the fictional universe of Star Trek the United Federation of Planets (UFP) is the interstellar government with which, as part of its space force Starfleet, most of the characters and starships of the franchise are affiliated. Commonly referred to as "the Federation", it was introduced in the original Star Trek television series. The survival, success, and growth of the Federation and its principles of freedom have become some of the Star Trek franchise's central themes.
The Federation is an organization of numerous planetary sovereignties, including Earth and Vulcan. The franchise focuses on Starfleet, the exploration and defence arm of the Federation, rather than the government. Viewers are rarely given details of the internal workings of the government; however, many episodes refer to the rules and laws that the Federation imposes on the characters and their adventures.
Development
Early in the first season of Star Trek, Captain Kirk had said the Enterprises authority came from the United Earth Space Probe Agency. Bases visited in the series were labeled "Earth Outposts". In August 1966, Gene L. Coon was hired by Gene Roddenberry as a writer for Star Trek. Actor William Shatner credits Coon with injecting the concepts of Starfleet, Starfleet Command and the United Federation of Planets into the show. One of the first teleplays Coon was credited with was "A Taste of Armageddon", where an ambassador on the Enterprise is referred to as a Federation official.
Eventually, the series became an allegory for the current events of the 1960s counterculture, placing great emphasis on an anti-war message and depicting the United Federation of Planets, a vast interstellar alliance founded on the enlightened principles of liberty, equality, justice, progress, and peaceful co-existence, as an idealistic version of the United Nations.
From Wikipedia (CC BY-SA 4.0).