Sociolinguistics analyzes variation in discourse within a particular speech community, and it studies how that variation affects the unfolding of meaning in interaction and correlates with the social order of the community.