Hearts correspond to lives. Lives represent the number of turns you can play. As soon as you start a game or play your turn in a game that has already been started, one life will be taken from your total balance. One unit will be regenerated every 30 minutes.
You can view the number of lives you currently have at the top of the screen, to the left of your coin balance, represented by a red heart icon.