The room-temperature ionic liquids (RTILs) have potential in realizing the ethylene (C(2)H(4)) and acetylene (C(2)H(2)) separation and avoiding solvent loss and environmental pollution compared with traditional solvents. The interaction mechanisms between gases and RTILs are important for the exploration of new RTILs for gas separation; thus, they were studied by quantum chemical calculation and molecular dynamics simulation in this work. The optimized geometries were obtained for the complexes of C(2)H(4)/C(2)H(2) with anions (Tf(2)N(-), BF(4)(-), and OAc(-)), cation (bmim(+)), and their ion pairs, and the analysis for geometry, interaction energy, natural bond orbital (NBO), and atoms in molecules (AIM) was performed. The quantum chemical calculation results show that the hydrogen-bonding interaction between the gas molecule and anion is the dominant factor in determining the solubility of C(2)H(2) in RTILs. However, the hydrogen-bonding interaction, the p-π interaction in C(2)H(4)-anion, and the π-π interaction in C(2)H(4)-cation are weak and comparable, which all affect the solubility of C(2)H(4) in RTILs with comparable contribution. The calculated results for the distance of H(gas)···X (X = O or F in anions), the BSSE-corrected interaction energy, the electron density of H(gas)···X at the bond critical point (ρ(BCP)), and the relative second-order perturbation stabilization energy (E(2)) are consistent with the experimental data that C(2)H(2) is more soluble than C(2)H(4) in the same RTILs and the solubility of C(2)H(4) in RTILs has the following order: [bmim][Tf(2)N] > [bmim][OAc] > [bmim][BF(4)]. The calculated results also agree with the order of C(2)H(2) solubility in different RTILs that [bmim][OAc] > [bmim][BF(4)] > [bmim][Tf(2)N]. Furthermore, the calculation results indicate that there is strong C(2)H(2)-RTIL interaction, which cannot be negligible compared to the RTIL-RTIL interaction; thus, the regular solution theory is probably not suitable to correlate C(2)H(2) solubility in RTILs. The molecular dynamics simulation results show that the hydrogen bond between the H in C2 of the imidazolium cation and the anion will weaken the hydrogen-bonding interaction of the gas molecule and anion in a realistic solution condition, especially in the C(2)H(4)-RTIL system.