Is the word "heart" used in the same way in the following two sentences?

The child won everyone's heart.

He stood still, his heart thumping wildly.
different meanings