Referred pain occurs due to the way sensory neurons are structured in the body. The sensory fibers from different parts of the body converge onto the same neurons in the spinal cord. The brain has a hard time distinguishing between the actual source of the pain and the area from which it is referred. This phenomenon is particularly common with internal organs, as they share nerve pathways with other superficial body parts.