Social structure refers to the enduring patterns of relationships, roles, and social institutions that shape and constrain individual and group behavior within a society. It provides the framework for understanding how different elements of a society are organized and interconnected, and how they influence the lives of individuals and groups.