The present invention relates to the removal of carbon dioxide from gases. More particularly, the invention relates to the use of metal-organic frameworks for a selective adsorption of carbon dioxide from a gas. Further, the invention relates to a method for removing carbon dioxide from a gas, preferably at ambient pressure with a metal organic framework.