Phrase structure grammar models the internal structure of sentences in a hierarchical organization. It represents sentences as consisting of phrases, which are made up of words, which are made up of morphemes and phonemes. Phrase structure grammars use rewrite rules to break down syntactic structures into their constituent parts in a step-by-step manner. Deep structure represents the underlying meaning of a sentence, while surface structure is the actual form used. Transformational rules derive surface structure from deep structure.