The present invention relates to use of heat-stable carbonic anhydrase in CO2 extraction, e.g., from flue gas, natural gas or biogas. Furthermore, the invention relates to isolated polypeptides having carbonic anhydrase activity at elevated temperatures and isolated polynucleotides encoding the polypeptides. The invention also relates to nucleic acid constructs, vectors, and host cells comprising the polynucleotides.