Basically, the insurance company will "total" a vehicle whenever the cost of repairing it would exceed It's current blue book value.
They give you a check, and they take possession of your totaled vehicle. They will then auction it off, if possible, to recoup some of their money. Badly...