CBD interacts with the endocannabinoid system by influencing receptors and enzymes, which helps to regulate various physiological processes in the body. This interaction contributes to its potential therapeutic effects.