system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 Why does trapped gas sometimes cause actual pain? What part of the body is actually hurting and why?

Gas is always uncomfortable but occasionally it causes severe pain, enough to make you double over. Why?
gpt
Might have to do with the trapped gases being close to a nerve compared to another spot. The internal part if our bodies dont have as robust a sensory network like our skin does but there are some nerves running through our insides.  This is what is usually known as referred pain, where the pain one feels is not actually in the spot they feel it, but  another part of the body that doesnt have direct nerves to relay the pain. 

A good example is a heart attack creating pain in the left arm, which is a common symptom and warning sign.  Same could be said for gas, albeit considering how long the intestines is there is enough squished in there that it tends to be better and more accurate at signalling nerves close to the pain.