What’s happens to the car after crash?

If the car is totaled and insurance pays you for it? What do they do with the car?