What is Sociolinguistics?

Sociolinguistics is the study of all aspects of society on the way language is used. It studies the relationship between language and different social factors such as class, sex, age and ethnicity.