The study of how individuals are organized into social groups, such as families, communities, and societies.