The study of interactions and relationships between individuals or groups, and how they form patterns and structures.