Defense mechanisms function as unconscious psychological strategies we deploy to navigate reality and sustain a consistent self-image. They act as a shield, guarding against feelings of anxiety, shame, and vulnerability. They are feeling states that prompt us to avoid contact and trick us into thinking they protect us against emotional harm.