How can CBD oil help with pain relief and management in medicine?

How can CBD oil help with pain relief and management in medicine?