Identity and self-esteem are closely related and are very important to good mental health. Your sense of identity has to do with who you think you are and how you perceive yourself. It has to do with your sense of self-worth and how you define yourself. Self-esteem is how you value yourself.