How can CBD oil help with relieving pain and discomfort?

How can CBD oil help with relieving pain and discomfort?