The psychology of crowd behavior, also known as the psychology of groups, examines how people behave when they belong to a mass gathering. When similar-minded people assemble in a crowd, their behavior can be heavily shaped by various psychological factors. One important principle in crowd psychology is the theory of social identity, which