Maybe. I can't tell you if it is your heart without examining you.
Sometimes chest pain is a heart attack, or "angina" - which is chest pain from a blocked artery leading to the heart. Sometimes chest pain is from indigestion, rib pain, or many other causes. Your doctor should be contacted immediately if you are having chest pain.
However, if you are at risk for heart disease, or think you are having angina, you should be evaluated by a cardiologist.