A dipeptide is formed by the reaction between the amino group of one amino acid and the carboxyl group of another. This reaction involves:
As per the NCERT text, 'The reaction between two molecules of similar or different amino acids, proceeds through the combination of the amino group of one molecule with the carboxyl group of the other. This results in the elimination of a water molecule and formation of a peptide bond –CO–NH–.' (Biomolecules_chemistry, page 292).