Defense mechanisms are unconscious psychological strategies employed by the ego to cope with anxiety and protect the self from distressing thoughts or feelings. These mechanisms play a central role in Freudian psychoanalytic theory and the understanding of personality disorders.