The Dunning-Kruger effect is a cognitive bias that causes people to overestimate their abilities and knowledge in a particular area, leading them to believe that they are more competent than they actually are.