Does car insurance cover a different person that is driving ur car?

i just got my lincense and now im not sure if when i drove my parent car and some how i had an acciddent does my parent insurance cover me and the car for the accident or no ? because the car insurance is in my dad name….