The study of the social, cultural, and linguistic factors that shape the use of multiple languages in different contexts.