Hydrogen bonding is defined as the formation of hydrogen bonds, which are a special type of attractive intermolecular forces that arise due to the dipole-dipole interaction between a hydrogen atom that is bonded to a highly electronegative atom and another highly electronegative atom that lies next to the hydrogen atom.
Example: In the case of a water molecule, the hydrogen atom is attached to the strongly electronegative oxygen atom where the hydrogen atoms develop a partially negative charge as the shared pair of electrons is more attached to the oxygen atom.
Hydrogen bonds are represented by the H- - -Y system, in which these dashed lines represent the hydrogen bonds which can be shown as:
Hence, the hydrogen bond is represented by the system repressed as; the H- - -Y system.