Cognitive dissonance is a psychological theory that refers to the mental discomfort or tension that arises when an individual holds two or more contradictory beliefs, values, or attitudes, especially when their actions conflict with their beliefs or values. This discomfort motivates the individual to reduce the inconsistency, often through rationalization, changing one’s attitudes, or justifying behavior.