Functional analysis is the examination of how linguistic elements function on different layers of linguistic structure, and how the levels interact with each other. Functions exist on all levels of grammar, even in phonology, where the phoneme has the function of distinguishing between lexical material.