Over the past couple of decades scientists have found that endocannabinoids and cannabinoid receptors are involved in a vast array of functions in our bodies, including helping to control brain and nerve activity (including memory and pain), energy metabolism, heart function, the immune system and even reproduction.