A hydrogen atom is in a special circumstance if it is bonded to an atom of fluorine, oxygen or nitrogen. These three atoms have very high Electronegativities and they pull a lot of electron density from the hydrogen.
This hydrogen can form hydrogen bonds to other highly electronegative atoms. This is why water is rather unusual–water is nothing but hydrogen bonding-capable hydrogens experiencing attractions to oxygen.