You were driving someone elses car when you go a ticket for no registration no insurance who is responsible?

You for not checking or asking in the first place. Now if that person has these things you were asked for take them to the court and show with explanation