A greenhouse gas is described as a molecule that does not emit radiation but absorbs all the radiation that strikes it. This absorption leads to the trapping of heat in the Earth's atmosphere, contributing to the greenhouse effect and global warming. Greenhouse gases include carbon dioxide (CO2), methane (CH4), and water vapor. These gases allow sunlight to enter the atmosphere but prevent some of the infrared radiation from escaping, thereby warming the planet.