If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
You are taking part at a drift racing contest. As you have already guessed, your task is to beat all your opponents and to come to finish as quickly as you can. The faster you drive, the more chances you have. Good luck!