How can CBD oil help with managing pain and discomfort?

How can CBD oil help with managing pain and discomfort?