Phosphodiester bond is formed between two nucleotides of nucleic acid.
A phosphodiester bond occurs when exactly two of the hydroxyl groups in phosphoric acid react with hydroxyl groups on other molecules to form two ester bonds.
Proteins have presence of peptide bond or amide linkage, carbohydrates have glycosidic bond or ether linkage, while lipids have presence of ester bonds.