These are just a few extracts from "How Emotions are Made" by Lisa Feldman Barrett, Professor of Psychology (my holiday read, loving this book).
How and why do so many people experience ongoing pain when their bodies appear to have no physical damage?
To answer that question, think about what would happen if your brain issued unnecessary predictions of pain and then ignored *prediction error to the contrary. You would genuinely experience pain for no discernable reason. Your brain is ignoring sensory input maintaining thats its predictions are reality.
Scientists now consider chronic pain to be a brain disease with its roots in inflammation. It is possible that the brain of a chronic pain sufferer received intense nocieptive input sometime in the past, and as the injury healed**, the brain didn't get the menu. It is also possible that predictions about inner-body movements are turning up the volume for nocieptive input as it heads from the body to the brain.
* Our brains predict something before we are aware of it even happening. The example used is "catching a ball", your brain launches predictions before it even sees the ball, using your past experience (going through millions of prediction loops). Your brain then compares the simulations to actual sensory input. If they match ... success! The prediction is correct, and the sensory input proceeds into your brain. Your body is now prepared to catch the ball, and your movement is based on your prediction. Finally you see the ball and you catch it.
Now if the prediction isn't particularly good, they are based on simulations of a catch you hope to make (as you haven't a clue how to play, no past experience) when they get compared to the information you actually receive from the outside world, they do not match, this is prediction error. The brain then adusts its earlier prediction so that you can catch the ball (in theory). The entire prediction loop process (predict, simulate, compare, resolve errors) repeats, predicting and correcting many times (happening in milliseconds) until eventually become aware of the ball sailing past your outstretched arm and you catch the ball.
** similar to phantom limb syndrome
There is also a medical condition called complex regional pain syndrome (CRPS) , in which pain from an injury spreads inexplicably to other areas of the body, which appears to be linked to bad nociceptive predictions.
Your brain is always predicting, and its most important mission is predicting your body's energy needs, so you can stay alive and well.