CO2 and methane (CH4) leaves green house effect These greenhouse gases absorb the heat The atoms of these molecules are held loosely and when they absorb heat they start vibrating and transmit the heat radiation to another gas molecule.This process keeps heat near the earth surface and thus causing greenhouse effect.