They will contain electrolytes like sodium, potassium, calcium and magnesium. Many are carbohydrate-based, with added sugars like fructose, glucose and sucrose.
Because they're on the pellicle of the teeth, these bacteria come into contact with sucrose, a sugar found in various foods and drinks including table sugar.