Why does hypnosis work?

Why hypnosis and hypnotherapy work