Hi.. Heart is supplied by a sympathetic nerves.. These sympthetic nerves are controlled by sympathetic gangion ( Dorsal thoracic ganglia 1 to 4) which also controls the nerves arising from the neck, left arm.. Because of this crosslinking during a heart attack these ganglia perceive the pain as a pain arising from the neck and left arm.. This is the basis of any referred pain..