What is the Green House Affect?

Green House effect is caused due to CO2 gas. When CO2 gas is kept in a closed area, temperature of that area increases as CO2 can absorb heat.