Lives are a resource you need to complete levels. The number of lives you have is the number of attempts you have to complete a level. You lose one life if an attempt fails.
One life is restored every 30 minutes.