Of course a heart does not feel emotions. It is your brain. It's obviously linked to something in the past where people believed your heart was the life force or something.

Here's a site that has come up with a few historic explanations.

http://www.phrases.org.uk/bulletin_board/19/messages/612.html