sociolinguistics

the study of language as it relates to social structures and attitudes.