The situation changes when a molecule consists of more than two atoms. And yet the hydrogen fluoride also has a linear geometry, because there is simply no other way to arrange two atoms. A hydrogen fluoride (HF) molecule, on the other hand, has a strong dipole moment because fluorine - the most electronegative element in the periodic table - has an electronegativity of 3.98 compared with a value of 2.20 for hydrogen. As a result, the O 2 molecule has zero dipole moment.
The diatomic oxygen (O 2 ) molecule is non polar because the two oxygen atoms have the same electronegativity, and there are no partial charges on either atom. A simple diatomic molecule consisting of two atoms of the same element will always have a linear geometry.