Crowd psychology, also known as the psychology of groups, examines how people behave when they join a mass gathering. When people with common interests assemble in a crowd, their behavior can be affected by underlying psychological dynamics. One important principle in crowd psychology is the theory of social identity, which describes how in