Metal–organic frameworks (MOFs) are a class of hybrid porous materials characterized by their periodic assembly using metal ions and organic ligands through coordination bonds. Their high crystallinity, extensive surface area, and adjustable pore sizes make them promising candidates for a wide array of applications. These include gas adsorption and separation, substrate binding, and catalysis, of relevance to tackling pressing global issues such as climate change, energy challenges, and pollution. In comparison to traditional porous materials such as zeolites and activated carbons, the design flexibility of organic ligands in MOFs, coupled with their orderly arrangement with associated metal centers, allows for the precise engineering of uniform pore environments. This unique feature enables a rich variety of interactions between the MOF host and adsorbed gas molecules, which are fundamental to understanding the observed uptake capacity and selectivity for target gas molecules and thus the overall performance of the material.