What is the meaning of Defense_mechanism?

A psychological strategy used unconsciously by people to cope with harmful or stressful situations.

An automatic reaction of the body against foreign antibodies.

Source: wiktionary.org