More basic anions

Compounds having a metal cation combined with either oxide or hydroxide anion are basic.
 
OH (hydroxide ion) accepts one H+ from an acid to give H2O.
O2– (oxide ion) accepts two H+ from an acid to give H2O. 

Note that hydroxide ion and oxide ion are closely related.
Hydroxide (OH) results from oxide (O2–) accepting a single H+

Oxide (like the names for other monatomic anions) has an -ide ending. Therefore hydroxide also ends in -ide.

Are any other oxygen-containing anions basic?
Sulfate, carbonate and nitrate anions have oxygen bonded to another nonmetal. Of these, only the carbonate anion is basic.
 


CO32– (carbonate ion) accepts 2H+ to give H2CO3.
HCO3(hydrogencarbonate ion) accepts H+ to give H2CO3

The relationship between hydrogencarbonate (HCO3)  and carbonate anion (CO32–) is the same as that between the oxide and hydroxide anions.

Compounds that have one of these anions and a metal cation are referred to as carbonates or hydrogencarbonates.

H2CO3 is an unstable acid that decomposes at room temperature to give H2O and CO2 (carbon dioxide gas).  Thus, when either carbonates or hydrogencarbonates react with acids, bubbling is observed due to formation of the gaseous product.