To simplify the complexity of human experience, the brain categorizes things, grouping them together, which reduces sensitivity to differences. These categories become beliefs and stereotypes. The unconscious associations with a stereotype become bias.