DMF for carbon capture applications