Bad breath (halitosis) is often caused by bacteria in the mouth or upper airway that produce sulfur-containing compounds. Usually, it can be banished by flossing and brushing teeth twice a day and brushing and scraping the tongue. If bacteria are also lurking in deep “pockets” in the gums, a dental professional must scrape them out.