How can CBD oil help with managing pain?

How can CBD oil help with managing pain?