Lives are the number of times you can play a level. You begin with 5 lives, and each time you lose a level, you lose one. It takes 15 minutes to recover a life.
In the upper left corner you can see how many lives you have and how long it will take to recover it all. You can also use gold coins to fill up your energy.