Cognitive dissonance is a psychological phenomenon where an individual experiences mental discomfort due to holding contradictory beliefs or attitudes, especially when their actions conflict with their beliefs. This discomfort often motivates individuals to reduce the inconsistency by changing their beliefs, attitudes, or behaviors.