XP is shorthand for "Experience" and you need it in order to level up your account, and unlock new locations.
♠️How can you gain XP?
You can gain Experience playing a game, it doesn't matter if you win or lose. Even though winning will give you more points.
You will also gain Experience when levelling up.