The study of the relationship between language and social factors such as ethnicity, class, and gender.