Gate theory of pain

Describe the gate theory of pain.