According to Freud, psychosis sometimes is a defense of the mind. When the reality is too bitter to accept, people tend to deny and detach it, indulging in his/her own imaginary world.