Green and herbal teas contain polyphenols, compounds that can inhibit the growth of harmful bacteria responsible for tooth decay and gum disease. They also have anti-inflammatory properties, promoting gum health.