Help will give brainliest

The heat-trapping ability of some gases in the atmosphere can be compared to

a.condensation because of heating.

b.the way glass traps heat in a greenhouse.

c.heating water on a stove.

d.the melting of snow.