Hearts represent lives that you will find in the upper right corner of some games. "Lives remaining" means how many lives you have left at the end of the game. For example, if the game has 5 lives (hearts) and you lose 2 lives, you will have 3 lives remaining.
If you lose all your lives, the game ends.