The study of how language is used in context, including the structure and coherence of conversations and texts.