Embodiments of the present disclosure describe a method of capturing chemical species from a fluid composition comprising providing a metal-organic framework characterized by the formula MaMbF5(O/H2O)(pyrazine)2.x(solv), wherein Ma is Ni2+; Mb is Nb5+, Al3+, or Fe3+; x is from 0 to 10 and solv is one or more of H2O, CO2, DMF, EtOH, NMP, MeOH; contacting the metal-organic framework with a fluid composition including H2O, CO2, and one or more other chemical species; and capturing H2O and CO2 simultaneously from the fluid composition.