Self-categorization is the cognitive process through which individuals define themselves in relation to social groups, leading them to identify with specific ingroups and outgroups. This process helps individuals understand their social identity and plays a key role in how they perceive themselves and their behavior within a social context.