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