How can CBD oil help with pain management?

How can CBD oil help with pain management?