Ginger bug can be derived from fresh ginger root containing Lactobacillus bacteria and wild yeast. The carbonation comes from the yeast fermentation as opposed to carbonating the finished product in homemade soda with a wide range of flavoring options such as fruits, tea, herbs, and spices. The whole process lasts between 8 to 10 days depending on room temperature.
Learn more on Wikipedia