In recent years, the increase in oil consumption has caused a strong need to improve the technologies of enhanced oil recovery. One of the common methods for enhanced oil recovery is the gas injection method. However, when gas is injected into the reservoir, problems such as gravity rise due to the low density of gas compared to oil and the high mobility of gas compared to oil reduce the efficiency of this method. Foam can improve mobility and increasing oil recovery by reducing gas permeability. Today, for foam stability, polymers are added to the solution containing foam. In injecting water into the reservoir, adding polymer to the injection water increases the viscosity of the injection water and the mobility ratio of water to oil also decreases. As a result, the sweeping operation is done better and the efficiency of oil production increases. It's better to use polymers that have dual properties, so, in addition to regulating the mobility of water, they create foam and limit the mobility of gas.