There is a huge number of different three- dimensional shapes possible, determined by the amino acid sequence of the polypeptide. Function follows structure.
Proteins are made up of amino acids covalently bonded together by peptide bonds.