CO2 is an acid anhydride. It really is not a (Bronsted/Lowry) acid until it is added to water. Then it becomes carbonic acid (H2CO3). CO2 + H2O --> H2CO3.
Then the carbonic acid can dissociate to make a proton (H+) and bicarbonate ion (HCO3(1-)), newer nomenclature calls it the hydrogen carbonate ion, but it is the same thing. Since the bicarbonate ion is the product of the dissociation, it is the conjugate BASE of carbonic acid. That is why bicarbonate ions are a base.
To take the reaction even further, bicarbonate can dissociate again to make a proton (H+) and the carbonate ion (CO3(2-)). Since carbonate is the conjugate base of the bicarbonate, it is even more basic than bicarbonate.
Together, CO2, HCO3(1-), and CO3(2-) make up the carbonate buffer system. This is very important in blood chemistry. Is would be something you will need to learn for physiology.
hope this helped
dsoz