The study of how language is used in context, including speech acts, presupposition, and implicature.