Idk how heartburn feels...

So once in a blue moon (probably once every two months) I feel this sharp pain in my heart like under my left breast only last for 2 sec then doesn't come back. Is heart burn like a sudden sharp ache?