What is bacterial vaginosis

I went to the obgyn about a week ago and got a notification on my lab an dsaid I was positive for FGardnerella vaginalis. What does that mean ? And what is the cause of it is it an STI? Can I like reinfect myself after medication?