It's not a game!
You can finish challenges in-game (online) by (example) blow up cars, if you go to ranks & challenges and click on one of the challenges you can see all kinds of those challenges, go over them with your mouse and you'll see what you have to do and what you get if you do this (XP).
Hope this helps!