A hydrogen bond is a special type of attractive interaction that exists between certain chemical groups of opposite polarity. Although stronger than van der Waals forces, the typical hydrogen bond is much weaker than both the ionic bond and the covalent bond. Within macromolecules such as proteins and nucleic acids, it can exist between two parts of the same molecule, and figures as an important constraint on such molecules' overall shape.