Did you mean pragmatics?
pragmatics
noun
°(linguistics) The study of the use of language in a social context.