Configurations of gas mixtures permeating through the T-C3N2 membranes under different modulations; potential energy pathways for CO2 passing the membrane; Different adsorption sites for CO2 on the membrane; Comparison for CO2 separation performance of membranes.