It's basically a leash for a dog or like a bridle for a horse. You can control the elephant just from its head.
Just like your dog lying down and being scratched all over ... they enjoy it.
It's really similar to dog training, you just have bigger treats.