How can CBD oil help with managing pain and inflammation in the body?

How can CBD oil help with managing pain and inflammation in the body?