Freud proposed a set of defense mechanisms in one’s body. These set of defense mechanisms occur so one can hold a favorable or preferred view of themselves. For example, in a particular situation when an event occurs that violates one's preferred view of themselves, Freud states that it is necessary for the self to have some mechanism to defend itself against this unfavorable event; this is known as defense mechanisms. Freud’s work on defense mechanisms focuses on how the ego defends itself against internal events or impulses, which are regarded as unacceptable to one’s ego. These defense mechanisms are used to handle the conflict between the id, the ego, and the superego.