How can CBD help alleviate pain and discomfort in the body?

How can CBD help alleviate pain and discomfort in the body?