text: In organic chemistry, an amide, also known as an organic amide or a carboxamide, is a compound with the general formula , where R, R', and R″ represent any group, typically organyl groups or hydrogen atoms. The amide group is called a peptide bond when it is part of the main chain of a protein, and an isopeptide bond when it occurs in a side chain, as in asparagine and glutamine. It can be viewed as a derivative of a carboxylic acid () with the hydroxyl group () replaced by an amine group (); or, equivalently, an acyl (alkanoyl) group () joined to an amine group.
  Common of amides are formamide (), acetamide (), benzamide (), and dimethylformamide (). Some uncommon examples of amides are N-chloroacetamide () and chloroformamide ().
  Amides are qualified as primary, secondary, and tertiary according to whether the amine subgroup has the form , , or , where R and R' are groups other than hydrogen.