Water vapor would be the most common greenhouse gas containing only hydrogen and oxygen. The other gases (methane, carbon dioxide, nitrous oxide, and ozone) all contain either only oxygen (in the case of ozone) or other elements (as seen in methane, carbon dioxide, and nitrous oxide).