Proteins are macromolecules composed of one or more polypeptide chains, each of which is a series of amino acid residues linked end-to-end by peptide bonds. The primary structure of a polypeptide is the linear sequence of residues, which is derived from a basic set of 21 amino acids specified by the genetic code (see The Genetic Code).