Explain why a heart attack victim usually feels pain in

Explain why a heart attack victim usually feels pain in their arms as well as their chest.
I understand that the concept of referred pain is involved I’m just not sure how exactly it works – how are the pain neurons and cutaneous neurons interacting?