CBD works in myriad ways, which are still being explored. For instance, it may reduce pain and stress via the TRPV1 receptor,[1][2][3] stress and depression via the 5HTI-alpha receptor,[4][5] and inflammation via the A2A receptors.[6]
Unfortunately, CBD seems to work better in combination with THC.