Greenhouse gases promote global warming

How does CO2 and other greenhouse gases promote global warming? Discuss your opinion on the use of geoengineering measures to mitigate the effects of global warming.