How does car insurance work when driving other peoples cars?

How does the health insurance work in the UK?