I was driving at an estimated speed of 55mph when I heard what sounded like a gunshot or tire popping inside the vehicle. Next I felt glass hitting my face, head, neck, and hands. I looked up and my sunroof had exploded. This could have been a very bad situation because when the loud boom and immediate feeling of getting hit with glass happened, naturally I tensed up, I swerved into the left lane as a result of my body reacting to the falling debris coming from right side. Thankfully no other cars were around. I only suffered minor injuries due to glass shards in my hand.