The greenhouse effect traps the sun's energy on Earth similar to

a pot on a hot stove
a microwave
a space heater in a room
a car parked in the sunlight with its windows up