Step 1: Understanding the Concept
A molecule is polar when the vector sum of its bond dipole moments is not zero.
Step 2: Calculation
\(\text{H}_2\) and \(\text{O}_2\) are homonuclear, so they have no dipole. \(\text{CO}_2\) is linear, so the two C=O dipoles cancel.
Step 3: Calculation
\(\text{H}_2\text{O}\) is bent (about \(104.5^{\circ}\)), so the dipoles add and the molecule is polar.
Final Answer:
The water molecule is polar.
\[ \boxed{\text{(D) }\text{the H}_2\text{O molecule (bent shape)}} \]