Bicarbonate is an anion (a negatively-charged ion). Its chemical formula is HCO3−. It reacts with acids to produce carbon dioxide. A sample compound is sodium bicarbonate. It forms carbonate when heated.