Which of the following molecules has a linear structure?

A. NH3
B. H2O
C. CO2
D. CH4

Correct Answer: Option C

C. CO2