Self-categorization theory explains how individuals classify themselves and others into social categories, influencing their identity and behavior based on group membership. This process is central to social identity theory and affects intergroup dynamics, leading to phenomena such as in-group favoritism and out-group discrimination.