Step 1: Understanding Global Warming.
Global warming refers to the gradual increase in the Earth's average temperature due to the accumulation of greenhouse gases in the atmosphere.
Step 2: Role of Carbon Dioxide.
Carbon dioxide (CO2) is the primary greenhouse gas contributing to global warming. It is produced by burning fossil fuels like coal, oil, and gas and is responsible for the majority of human-induced warming.
Step 3: Verifying the Options.
Option (1): Nitrogen is a major component of the atmosphere but does not contribute significantly to global warming.
Option (2): CO2 is correct as it is the leading cause of the enhanced greenhouse effect.
Option (3): Methane is a potent greenhouse gas, but CO2 has a larger cumulative effect.
Option (4): Oxygen is not a greenhouse gas and does not contribute to global warming.