It's not a precise scientific term, but it refers to the feelings of unease that one experiences when one's beliefs, desires, or behaviors contradict each other or are in opposition to one another.
In the scientific literature, it is close to what is known as "cognitive dissonance."