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

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