ECS regulates learning and memory, emotional processing, sleep, temperature, pain, inflammatory and immune responses and eating. It modulates pain at all stages of the pain pathway.