Try to get as few misses as possible and collect all the pairs in the shortest time. The points you currently have are shown in the game and your total points will be displayed in the victory window.
The higher the level, the more difficult it is, and the more points you can score by completing it. The victory window shows how much you've got left until the next level.