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