I had been smelling a fishy smell from my vagina and so I started taking a probiotic and now I don't smell it anymore. Was it bacterial vaginosis?

Maybe. But that is only a guess. Bacterial vaginosis is an overgrowth rather than a true infection and probiotics can help by introducing more normal bacteria to counteract the less pleasant BV ones.