Abstract: Systems and methods for extracting components from a gas. A chamber to collect water and another chamber to collect carbon dioxide from a gas are each configured with topologically optimized sorbents. A DAC method for extracting components from a gas includes water and carbon dioxide chambers configured with topologically optimized sorbents to respectively capture water and carbon dioxide.