Tools of Personal Transformation: The Role of the Ego

Why do we have an Ego? What is a healthy ego? Is self-esteem and self-respect the same as ego?