The study of the social aspects of religion, including the ways religion is embedded in social institutions and culture.