There are two ways to complete each level: be Sour or Sweet.
At the beginning of each mini-game, you'll be directed to complete the level in one way or the other. If you're successful, you'll go to the next level. If not, you'll lose a life.
You'll earn more lives as you complete levels successfully.