The primary greenhouse gases responsible for global warming

What are the primary greenhouse gases responsible for global warming, and how do they contribute to the Earth's rising temperatures?