If the amino group of glycine and carboxylic acid group of alanine undergo elimination of water molecule, the formed compound is glycylalanine (dipeptide).