How can CBD oil help with managing pain in the body?

How can CBD oil help with managing pain in the body?