Proteins have four levels of structure: primary, secondary, tertiary, and quaternary. The primary structure is the sequence of amino acids in the polypeptide chain. Secondary structure involves hydrogen bonding that forms alpha helices and beta pleats. Tertiary structure is the folding of the polypeptide chain, influenced by properties of amino acids, to form domains. Quaternary structure occurs when multiple polypeptide subunits combine to form the functional protein structure. Protein structure determines its function, as denaturation can change structure and function.