It means you're mentally hurt like jealous or sad and you can feel the pain in your heart.
Her: *sees crush* Him: *texting another girl from across the room; making eye contact and smiling* Her: *gets jealous and gets punched in the heart*