Could be a number of things including indegestion/heart burn etc.
Could be a case of pleuresy where you get a mild lung infection. I had this a while back and it felt like i was having a heart attack when ever I breathed hard which happened to coincide with exercise.
Get it checked out to be safe.