All humans possess a built-in endocannabinoid system which acts as a homeostatic (the tendency of the body to seek and maintain a condition of balance or equilibrium) regulator. Cannabis acts on and affects this system.
This article:
Study Says: Cannabis could Treat Bipolar Disorder – Canna Chronicle