Pain matrix refers to the network of structures in the brain that are responsible for pain perception.