How does CBD oil help with pain, and what are its advantages over traditional medication?

How does CBD oil help with pain, and what are its advantages over traditional medication?