Definition: Given a scientific question, generate a correct answer to it.
Input: What type of gases trap heat in the atmosphere, causing earth to have a moderate temperature?
Output:
greenhouse gases