What is the definition of the greenhouse effect?

gases in Earth's atmosphere trapping and reemitting heat to Earth

gases allowing more warm air to escape into space

gases absorbing energy and holding it in the atmosphere

gases reflecting the sun's energy, preventing it from reaching Earth

The definition of the greenhouse effect is: gases in Earth's atmosphere trapping and reemitting heat to Earth.