The gases in the earth's atmosphere that collects heat and light from the sun are called greenhouse gases.
The greenhouse gases are carbon dioxide (CO2), methane (CH4), nitrous oxide (NO), and water vapor.
Greenhouse effect:
It is defined as the phenomenon in which the earth's atmosphere traps the heat from the sun and prevents it forms escaping it into outer space thereby leading to an increase in the temperature of the earth's surface.