The bandwagon effect is a cognitive bias that causes people to think or act a certain way if they believe that others are doing the same. This phenomenon is also called herd mentality, and it refers to the tendency of people to align their beliefs and behaviors with those of a group.