Hydrogen bonds are weaker than covalent and ionic bonds but are crucial in maintaining the three-dimensional structure of macromolecules. In histology, hydrogen bonds are essential for the structure of DNA and RNA, as they hold the nucleotide bases together. These bonds also stabilize protein secondary structures, such as alpha helices and beta sheets, which are vital for protein function and cell activity.