A polar molecule is a molecule
containing polar bonds
where the sum of all the bond's dipole moments is not zero.
Water is a polar molecule. Carbon dioxide is made up of polar bonds, but the dipole moments cancel each other out and therefore is not a polar molecule.