The purpose of tracking and prediction of car’s location in self-driving [closed]

I wonder the purpose of tracking and prediction for a self-driving car? I can know its location for the next time through much calculation of tracking and prediction. I wonder what is the location for next time used for. Thank you for your reply.