Scientists have discovered that the endocannabinoid system influences the balance and function of almost all bodily systems. The endocannabinoid system plays an important role in brain function, influencing mood, learning and memory, pain control, sleep, appetite, and more.