Syntactic hierarchy
Syntax is concerned with the way sentences are constructed from smaller parts, such as words and phrases. Two steps can be distinguished in the study of syntax. The first step is to identify different types of units in the stream of speech and writing. In natural languages, such units include sentences, phrases, and words. The second step is to analyze how these units build up larger patterns, and in particular to find general rules that govern the construction of sentences.http://people.dsv.su.se/~vadim/cmnew/chapter2/ch2_21.htm

This can be broken down into constituents, which are a group of words that are organized as a unit, and the organization of those constituents. They are organized in a hierarchical structure, by embedding inside one another to form larger constituents. History

Universal Grammar: the Chomskyan view 
In Chomsky’s view, humans are born with innate knowledge of certain principles that guide them in developing the grammar of their language. In other words, Chomsky’s theory is that language learning is facilitated by a predisposition that our brains have for certain structures of language. This implies in turn that all languages have a common structural basis: the set of rules known as "universal grammar". The theory of universal grammar entails that humans are born with an innate knowledge (or structural rules) of certain principles that guide them in developing the grammar of their language. Structural Linguistics: Saussurean Influences 
Regarded as the "Founder of Structural Linguistics", which reflects the concept of structuralism, Ferdinand de Saussure stated the ways in which human culture requires an overarching structure to relate to in order to communicate. He defines language to be different than human speech, which is fundamental and essential to language. While speech is a combination of several disciplines (i.e. physical, psychological, etc.) and is part of an individual and their society, language is a system of classification of its own entity. De Saussure argues that in written language, words are chained together in sequence on the chain of speaking, and therefore gain relations based on the linear nature of language. Language, however, is not simply a classification for universal concepts, as translating from one language to another proves to be a difficult task. Each Languages organizes their own world differently, and do not name existing categories, rather articulate their own. This idea explains that though languages can differ within levels of Syntactic Hierarchy, all languages encompass the same set of levels. The Levels of Syntactic Hierarchy

Groups of sentences (text) 
Separate sentences can combine together to create one sentence. For example, the sentence “The boy chased the ball” and “He didn’t catch it” can be combined together. You can do this in many ways including stringing one sentence after the other or joining the sentences with conjunctions.1. “The boy chased the ball; he didn’t catch it.”2. “The boy chased the ball, but he didn’t catch it.”3. “The boy chased the ball, and he didn’t catch it.”

Sentence
Phrases combined to form sentences. The phrase “the girl” combines with the phrase “ran away” to form the sentence: “The girl ran away.”

Phrases 
Words combine to form phrases. The word “the” combines with “girl” to form the phrase: “The girl”

Words 
Morphemes combine to form words. Morphemes belong to categories that determine how they combine. For example, the word 'manageable' is made up of two morphemes 'manage' which is a verb and 'able' which is an adjective, these categories tell the morphemes how to combine so they form the word 'manageable.' Morphemes 
Smallest meaningful unit in a word. For example, “boys” has two morphemes “boy” and “-s.”

Phonemes 
A unit of sound such as individual consonants and vowels of a language. For example, /p/, /t/ and /æ/ are phonemes in English. Phonetic form 
A subset of sounds which demonstrates the different variations of a phoneme. Diacritics can be used to represent this, for example aspiration can be added to the letter /p/ in the word /pʰɪt/. Unsegmented Speech 
Refers to ambiguous streams of words with spaces in between. For example, this can represent how an infant may hear human speech. Analysis of Syntactic Hierarchy Levels

Sentence 

Sentences are the hierarchal structure of combined phrases. When constructing a sentence, two types of phrases are always necessary: Noun Phrase (NP) and Verb Phrase (VP), forming the simplest possible sentence. What determines whether a sentence is grammatically constructed (i.e. the sentence makes sense to a native speaker of the language), is its adherence to the language's phrase structure rules, allowing a language to generate large numbers of sentences. Languages cross-linguistically differ in their phrase structure rules, resulting in the difference of order of the NP and VP, and other phrases included in a sentence. Languages which do have the similar phrase structure rules, however, will translate so that a sentence from one language will be grammatical when translated into the target language. French example:

 Sentence: "Le chien a aimé la fille" (translation: "The dog loved the girl")

The French sentence directly translates to English, demonstrating that the phrase structures of both languages are very similar. Phrase 
The idea that words combine to form phrases. For example, the word “the” combines with word “dog” to form the phrase “the dog”. A phrase is a sequence of words or a group of words arranged in a grammatical way to combine and form a sentence. There are five commonly occurring types of phrases; Noun phrases (NP), Adjective phrases (AdjP), Verb phrases (VP), Adverb Phrases (AdvP), and Prepositional Phrases (PP). Hierarchical combinations of words in their formation of phrasal categories are apparent cross-linguistically- for example, in French:

French examples:  
 Noun phrase: "Le chien" (translation: "The dog") 
 Verb phrase: " a aimé la fille" (translation: "loved the girl")
Full sentence: "Le chien a aimé la fille"

Noun phrase 

A noun phrase refers to a phrase that is built upon a noun. For example, “ The dog”  or “the girl” in the sentence “the dog loved the girl” act as noun phrases. Verb phrase 

Verb phrase refers to a phrase that is composed of at least one main verb and one or more helping/auxiliary verb (every sentence needs at least one main verb). For example, the word “loved the girl” in the sentence “the dog loved the girl” acts as a verb phrase. see also Adjective phrases (AdjP), Adverb phrases (AdvP), and Prepositional phrases (PP)

Phrase structure rules 
A phrase structure tree shows that a sentence is both linear string of words and a hierarchical structure with phrases nested in phrases (combination of phrase structures). A phrase structure tree is a formal device for representing speaker’s knowledge about phrase structure in speech. The syntactic category of each individual word appears immediately above that word. In this way, “the” is shown to be a determiner, “child” is a noun, and so on. Word  
The subdomain that deals with words is morphology, which states that words are made up of morphemes which combine in a regular and rule-governed fashion. For example, the word 'national' is made up of two morphemes 'nation' which is a noun and '-al' which is a suffix that means pertaining to, this meaning helps us in categorizing '-al' as an adjective. These categories aid in arranging the morphemes so they can combine in a way that will form the word 'national,’ which is an adjective. Morphology states that words come in categories, and the morphemes that join together to create the word assign the category. The two main categories are open class, where new words can be created and closed class where there is a limited number of members. Within both of these categories there are further sub-categories. Open class includes: nouns, verbs, adjectives, and adverbs, and closed class includes: prepositions, determiners, numerals, complementizers, auxiliaries, modals, coordinators, and negation/affirmation. These sub categories can be further broken down for example, verbs can be either transitive or intransitive. These categories can be identified with semantic criteria about what a word means, for instance nouns are said to be people, places, or things while verbs are actions. Words are all placed in these categories and depending on their category they follow specific rules that determine their word order. Cross-Linguistically other languages form words similarly to English. This is done by having morphemes of different categories combine in a rule governed fashion in order to create the word. French example:
 "é"- masculine past participle root verb suffix of regular -er verbs
 "aimer" (translation: to like/love)-> "aim" + "é" = "aimé" (translation: liked)

Minimalist Theory of Syntax 
Syntactic hierarchy may be the most basic and assumed component of almost all syntactic theories, and yet the minimalist theory of syntax views a clause or group of words as a string, rather than as components of a hierarchical system. While this theory prioritizes linearity over hierarchy, hierarchical structure is still analyzed if it "generates correct data"  or if there is "direct evidence for it". In this way, it appears that syntactic hierarchy still plays an important role in even the minimalist theories. Artificial language 

In artificial languages, lexemes, tokens, and formulas are usually found among the basic units. See also 
 Level of detail (writing)
 Semiotics
 Syntax
 Grammar

Further reading
Moles, Robert N.  Legal Theory lecture Ronald Stamper and Norm based systems on the Networked Knowledge web site. References 

Syntax