How does car insurance work when driving somebody else’s car?

Aquabug222 asked: I have my own car and insurance company.
My girlfriend has her own car and insurance company.

Can I drive her car? What would happen if I got into an accident? How much would it cost to be insured with her car? How would that work with 2 different insurance companies? THANK YOU!