XP stands for Experience Points. They provide a picture of how much progress you've achieved in the App. Typically, it will take you about one minute of activity to earn five XP.
As you complete XP, you move up levels. Each 500 XP you complete will bring you to the next Hats & Ladders level.