The concept of cognitive dissonance

Explain the concept of cognitive dissonance and give two examples of how someone might experience cognitive dissonance related to sexuality.